Added support for quartz

This commit is contained in:
Dibyashanu Pati 2025-02-10 03:21:14 +05:30
parent 18d1dff009
commit d2fefdc84a
2 changed files with 58 additions and 0 deletions

View file

@ -1,11 +1,19 @@
#!/usr/bin/env sh
rm -rf ./public/cosmicflow-html/
rm -rf ./public/exocortex-hugo-md/content/
# generate the html and gemini versions of the site using org-publish
emacs -Q --batch -l create-site.el
rsync -avi ./content/ltximg ./public/cosmicflow-html/
#sync exocortex notes
cd ./public/exocortex-hugo-md/
npx quartz build
cd ../../
rsync -avi --delete ./public/exocortex-hugo-md/public/ ./public/cosmicflow-html/exocortex/
# Set the source and destination directories
src_dir="./public/cosmicflow-html"
src_ltximg_dir="./public/cosmicflow-html/ltximg"