From b9cef24ad07c3dfa85f710d3e92e27ee2a8d6196 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Tue, 24 Mar 2026 11:29:09 -0500 Subject: [PATCH] updating to use my forked pico-snazzy theme --- org-publish.el | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/org-publish.el b/org-publish.el index 9f5db33f..5d58fc10 100644 --- a/org-publish.el +++ b/org-publish.el @@ -23,19 +23,18 @@ (org-html-html5-fancy t) (org-html-validation-link nil) (make-backup-files nil) - (org-html-style " + (org-html-head-include-default-style nil) + (org-html-head " ") - (org-html-head-include-default-style nil) - (org-html-head "")) +")) (when (= 1 (shell-command - "cmp --silent ~/docs/site/assets/pico.cyan.css ~/docs/site/public/static/pico.cyan.css")) - (copy-file "~/docs/site/assets/pico.cyan.css" "~/docs/site/public/static/pico.cyan.css" t)) + "cmp --silent ~/docs/site/assets/pico.snazzy.css ~/docs/site/public/static/pico.snazzy.css")) + (copy-file "~/docs/site/assets/pico.snazzy.css" "~/docs/site/public/static/pico.snazzy.css" t)) (message "Starting site build") (cl-loop for file in current-notes @@ -57,6 +56,7 @@ (find-file "~/docs/site/content/index.org") (org-update-all-dblocks) (org-export-to-file 'html "~/docs/site/public/index.html") + (kill-buffer) (let* ((files (seq-concatenate 'list @@ -83,7 +83,9 @@ (org-html-html5-fancy t) (org-html-validation-link nil) (make-backup-files nil) - (org-html-head "") + (org-export-with-title t) + (org-html-head-include-default-style nil) + (org-html-head "") (denote-directory "/home/chris/docs/site/content") (export-directory (concat "/home/chris/" @@ -105,7 +107,7 @@ (kill-buffer)))))) (setq counter (+ counter 1)) - (while (> counter 10) + (while (> counter 12) (sit-for 0.5)) (async-start func @@ -137,7 +139,7 @@ ;; :html-doctype "html5" ;; :html-html5-fancy t ;; :html-self-link-headlines t -;; :html-head "" +;; :html-head "" ;; :html-head "" ;; :publishing-directory "~/docs/notes/site/public/" ;; :publishing-function org-html-publish-to-html) @@ -149,7 +151,7 @@ ;; :html-html5-fancy t ;; :html-self-link-headlines t ;; :htmlized-source t -;; :html-head "" +;; :html-head "" ;; :publishing-directory "~/docs/site/public/notes/" ;; :publishing-function org-html-publish-to-html) ;; ("teaching" @@ -160,7 +162,7 @@ ;; :html-html5-fancy t ;; :html-self-link-headlines t ;; :htmlized-source t -;; :html-head "" +;; :html-head "" ;; :publishing-directory "~/docs/site/public/teaching/" ;; :publishing-function org-html-publish-to-html) ;; ("static"