Added support for quartz
This commit is contained in:
parent
18d1dff009
commit
d2fefdc84a
2 changed files with 58 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue