From 60e06a26f4f35160528d22169ee314864c277db5 Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Fri, 12 Jun 2026 00:15:21 +0300 Subject: created & configured finnish side of blog & imported two old blog posts --- lisp/org-publish-project-alist.el~ | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 lisp/org-publish-project-alist.el~ (limited to 'lisp/org-publish-project-alist.el~') diff --git a/lisp/org-publish-project-alist.el~ b/lisp/org-publish-project-alist.el~ new file mode 100644 index 0000000..70fb2ce --- /dev/null +++ b/lisp/org-publish-project-alist.el~ @@ -0,0 +1,33 @@ +(setq org-publish-project-alist + '(("fi" + :completion-function (lambda (a) (copy-file "~/Documents/orgsite/generated/fi/index.html" "~/Documents/orgsite/generated/index.html" 1)) + :base-directory "~/Documents/orgsite/pages/fi" + :publishing-directory "~/Documents/orgsite/generated/fi" + :base-extension "org" + :publishing-function org-html-publish-to-html + :recursive t + :with-toc nil + :lang "fi" + :html-head "") + ("en" + :base-directory "~/Documents/orgsite/pages/en" + :publishing-directory "~/Documents/orgsite/generated/en" + :base-extension "org" + :publishing-function org-html-publish-to-html + :recursive t + :with-toc nil + :lang "en" + :html-head "") + ("img" ; equiv with static + :base-directory "~/Documents/orgsite/img" + :publishing-directory "~/Documents/orgsite/generated/img" + :base-extension any + :recursive t + :publishing-function org-publish-attachment) + ("static" ; equiv with img + :base-directory "~/Documents/orgsite/static" + :publishing-directory "~/Documents/orgsite/generated/static" + :base-extension any + :recursive t + :publishing-function org-publish-attachment) + ("website" :components ("fi" "en" "img" "static")))) -- cgit v1.2.3