From 5b537ba863c46cd0c3a820edba9e9286dab5c0a9 Mon Sep 17 00:00:00 2001 From: Jacob Janzen Date: Fri, 12 Apr 2024 15:24:36 -0500 Subject: org-based setup --- publish.el | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 publish.el (limited to 'publish.el') diff --git a/publish.el b/publish.el new file mode 100644 index 0000000..5513b6f --- /dev/null +++ b/publish.el @@ -0,0 +1,36 @@ +(require 'org) +(require 'ox-html) +(setq org-publish-project-alist + '( + ("org-notes" + :base-directory "~/website/" + :base-extension "org" + :publishing-directory "~/public_html/" + :recursive t + :publishing-function org-html-publish-to-html + :with-toc nil + :headline-levels 4 + :section-numbers nil + :html-head "" + :html-preamble "
HomeProjectsTea Tasting NotesRantsDotfilesAbout Me
" + :html-postamble nil + :auto-sitemap t + :sitemap-filename "sitemap.org" + :sitemap-title "Sitemap") + ("org-static" + :base-directory "~/website/" + :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf" + :publishing-directory "~/public_html" + :recursive t + :publishing-function org-publish-attachment) + ("org-config" + :base-directory "~/dotfiles/.doom.d/" + :base-extension "org" + :html-head "" + :html-preamble "
HomeProjectsTea Tasting NotesRantsDotfilesAbout Me
" + :publishing-directory "~/public_html" + :publishing-function org-html-publish-to-html + :headline-levels 4 + :auto-preamble t) + ("org" :components ("org-notes" "org-static" "org-config")))) +(org-publish-all t) -- cgit v1.2.3