From d194694f31002068868a378d121ed0e2db01c378 Mon Sep 17 00:00:00 2001 From: nathansmith Date: Thu, 22 May 2025 12:11:10 -0600 Subject: Messy folder --- testTheThing/publish.el | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 testTheThing/publish.el (limited to 'testTheThing/publish.el') diff --git a/testTheThing/publish.el b/testTheThing/publish.el new file mode 100644 index 0000000..d9d8ad7 --- /dev/null +++ b/testTheThing/publish.el @@ -0,0 +1,36 @@ +(add-to-list 'load-path "./") +(require 'ox-publish) +(require 'shittyweb-html) + +(setq org-publish-project-alist + '( + ("org" :components ("org-notes" "org-static")) + ("org-notes" + :base-directory "org/" + :base-extension "org" + :publishing-directory "xhtml/" + :recursive t + :publishing-function shittyweb-publish-to-html + :headline-levels 4 + :auto-preamble t + :with-author nil + :with-creator t + :with-toc t + :section-numbers t + :time-stamp-file nil + ) + ("org-static" + :base-directory "org/" + :base-extension "css\\|html\\|py\\|png\\|jpg\\|gif\\|cgi\\|rss" + :publishing-directory "xhtml/" + :recursive t + :publishing-function org-publish-attachment + )) + org-html-extension "xhtml" + org-html-validation-link nil + org-html-head-include-scripts nil + org-html-head-include-default-style nil + org-html-home/up-format "\ +\"Back") +(org-publish-all t) + -- cgit v1.2.3