summary refs log tree commit diff
path: root/config.org
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-07-28 08:22:17 +0000
committernoa@gaiwan.org2024-07-28 08:22:17 +0000
commit00153646f080ca784cd6f18bd03a91451006103a (patch)
treec4d740d690bc25c7b6b4efc0b1eab9e1f3f590ac /config.org
parenta22e0417c873c722a75f38341d8fbfdb616b82c8 (diff)
Update website configuration
Diffstat (limited to 'config.org')
-rw-r--r--config.org88
1 files 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 <pre> tag
-              	 :html-head "<meta name=\"color-scheme\" content=\"light dark\">
+  (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 <pre> tag
+	   :html-head "<meta name=\"color-scheme\" content=\"light dark\">
     <style>
     body { font-family: \"Comic Sans MS\"; max-width: 80ch; }
     img { max-width: 100%; }
     pre { overflow: scroll; border-right: 1px solid; }
   </style>"
-              	 :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