From 2905bcce4dbb7dd1ced889510321d431204bafa3 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Tue, 20 Jul 2021 08:45:03 +1000 Subject: First commit --- publish.el | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 publish.el (limited to 'publish.el') diff --git a/publish.el b/publish.el new file mode 100644 index 0000000..9575451 --- /dev/null +++ b/publish.el @@ -0,0 +1,28 @@ +(package-initialize) + +(require 'ox-publish) + +(setq org-publish-project-alist + '(("pages" + :base-directory "pages" + :base-extension "org" + :publishing-directory "site" + :recursive t + :publishing-function org-html-publish-to-html + :html-head "" + :html-prefer-user-labels t + :html-mathjax-options nil + :html-mathjax-template "" + :with-toc nil + :section-numbers nil + :html-self-link-headlines t + :html-postamble nil + ) + ("css" + :base-directory "css" + :base-extension "css" + :publishing-directory "site/css" + :publishing-function org-publish-attachment + :recursive t + ) + ("all" :components ("pages" "css")))) -- cgit v1.2.3