From 00153646f080ca784cd6f18bd03a91451006103a Mon Sep 17 00:00:00 2001 From: noa@gaiwan.org Date: Sun, 28 Jul 2024 08:22:17 +0000 Subject: Update website configuration --- config.org | 88 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/config.org b/config.org index 55349b4..92205f5 100644 --- a/config.org +++ b/config.org @@ -843,60 +843,60 @@ I generate my website using org mode. I use the built in ox-publish subsystem f #+end_src #+begin_src elisp - (setq org-publish-project-alist - `(("website" - :components ("website-pages" "website-assets" "website-feed")) - ("website-pages" - :publishing-function org-html-publish-to-html - :base-directory "~/data/website" - :publishing-directory "~/data/public_html" - :base-extension "org" - :with-drawers t - :html-link-home "/" - :html-head-include-default-style nil - :html-head-include-scripts nil - :html-doctype "html5" - ;; :html-validation-link nil - :html-preamble "" - :html-postamble ,noa/website-footer - :html-home/up-format "" - :html-link-up "" - :html-html5-fancy t - :html-indent nil ;; breaks
 tag
-              	 :html-head "
+  (setq org-publish-project-alist
+	`(("website"
+	   :components ("website-pages" "website-assets" "website-feed"))
+	  ("website-pages"
+	   :publishing-function org-html-publish-to-html
+	   :base-directory "~/data/website"
+	   :publishing-directory "~/data/public_html"
+	   :base-extension "org"
+	   :with-drawers t
+	   :html-link-home "/"
+	   :html-head-include-default-style nil
+	   :html-head-include-scripts nil
+	   :html-doctype "html5"
+	   ;; :html-validation-link nil
+	   :html-preamble ""
+	   :html-postamble ,noa/website-footer
+	   :html-home/up-format ""
+	   :html-link-up ""
+	   :html-html5-fancy t
+	   :html-indent nil ;; breaks 
 tag
+	   :html-head "
     "
-              	 :auto-sitemap t
-              	 :sitemap-filename "~/data/website/archive.org"
-              	 :sitemap-title "Archive"
-              	 :sitemap-style list
-              	 :sitemap-sort-folders ignore
-              	 :sitemap-ignore-case t
-                       )
-              	("website-assets"
-              	 :publishing-function org-publish-attachment
-              	 :base-directory "~/data/website"
-              	 :publishing-directory "/home/noa/data/public_html"
-              	 :base-extension "css\\|js\\|png|\\jpg|\\ico"
-              	 :recursive t)
-                      ("website-feed"
-              	 :base-directory "~/data/website"
-              	 :base-extension "org"
-              	 :publishing-directory "~/data/public_html"
-              	 :publishing-function (org-rss-publish-to-rss)
-              	 :html-link-home "https://noa.pub/"
-              	 :html-link-use-abs-url t
-                       :exclude ".*"
-                       :include ("index.org" "boke.org"))))
+	   :auto-sitemap t
+	   :sitemap-filename "~/data/website/archive.org"
+	   :sitemap-title "Archive"
+	   :sitemap-style list
+	   :sitemap-sort-folders ignore
+	   :sitemap-ignore-case t
+	   )
+	  ("website-assets"
+	   :publishing-function org-publish-attachment
+	   :base-directory "~/data/website"
+	   :publishing-directory "/home/noa/data/public_html"
+	   :base-extension "css\\|js\\|png|\\jpg|\\ico"
+	   :recursive t)
+	  ("website-feed"
+	   :base-directory "~/data/website"
+	   :base-extension "org"
+	   :publishing-directory "~/data/public_html"
+	   :publishing-function (org-rss-publish-to-rss)
+	   :html-link-home "https://noa.pub/"
+	   :html-link-use-abs-url t
+	   :exclude ".*"
+	   :include ("index.org" "boke.org"))))
 #+end_src
 
 We also need to install a newer version of htmlize so that we can properly convert syntax highlighted code into html.  I wish there was a way to turn this off, but i couldn't easily find it, so we're stuck with it for now.
 
 #+begin_src elisp
-  (package-ensure 'htmlize)
+  ;; (package-ensure 'htmlize)
 #+end_src
 
 * Getting help
-- 
cgit 1.4.1-2-gfad0