From 0fa266ecbde54c065146472f7c8ff2b1af83c138 Mon Sep 17 00:00:00 2001 From: azureazure Date: Wed, 24 Dec 2025 01:27:00 +0100 Subject: rss feed + more cancerous colors --- build-site.el | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'build-site.el') diff --git a/build-site.el b/build-site.el index 2d7eedc..609949f 100644 --- a/build-site.el +++ b/build-site.el @@ -1,11 +1,13 @@ +(package-initialize) (require 'ox-publish) +(require 'webfeeder) (setq org-html-validation-link nil org-html-head-include-scripts nil org-html-doctype "html5" org-html-html5-fancy t org-html-head-include-default-style nil - org-html-postamble nil + ;; org-html-postamble nil org-html-head (with-temp-buffer (insert-file-contents "head.html") (buffer-string))) @@ -27,6 +29,7 @@ :publishing-directory "./public" ;; :with-title nil :with-toc nil + :html-postamble nil :section-numbers nil :time-stamp-file nil) (list "assets" @@ -49,6 +52,16 @@ :sitemap-sort-files 'anti-chronologically :sitemap-format-entry 'custom/sitemap-format-entry))) +(delete-directory "public" :recursive t) + (org-publish-all t) +(webfeeder-build + "rss.xml" + "./public/blog" + "https://lemurianmage.srht.site" + (cddr (delete "index.html" (directory-files "public/blog"))) ; no "." and ".." + :title "lemurblog" + :builder 'webfeeder-make-rss + :build-date 0) (message "Build done!") -- cgit v1.2.3