From 82f6d34eb6d9afef3690d377dab28030daa36fdf Mon Sep 17 00:00:00 2001 From: Frederik Vanrenterghem Date: Sat, 25 Nov 2023 21:48:11 +0800 Subject: [PATCH] Voeg MVP publicatiescript toe. --- maak-website.el | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 maak-website.el diff --git a/maak-website.el b/maak-website.el new file mode 100644 index 0000000..74244b9 --- /dev/null +++ b/maak-website.el @@ -0,0 +1,25 @@ +(require 'ox-publish) + +(setq org-publish-project-alist + '(("orgfiles" + :base-directory "~/websites/stage.vanrenterghem.biz/source/" + :base-extension "org" + :publishing-directory "~/websites/stage.vanrenterghem.biz/target" + :publishing-function org-html-publish-to-html + :exclude "assets*" ;; regexp + :headline-levels 3 + :section-numbers nil + :with-toc nil + :html-head "" + :html-preamble t + :recursive t + :auto-sitemap t) + + ("assets" + :base-directory "~/websites/stage.vanrenterghem.biz/assets/" + :base-extension * + :publishing-directory "~/websites/stage.vanrenterghem.biz/target/assets/" + :publishing-function org-publish-attachment) + + ("website" :components ("orgfiles" "assets")))) -- 2.39.5