From: Frederik Vanrenterghem Date: Sat, 25 Nov 2023 13:48:11 +0000 (+0800) Subject: Voeg MVP publicatiescript toe. X-Git-Url: http://git.vanrenterghem.biz/www2.vanrenterghem.biz.git/commitdiff_plain/82f6d34eb6d9afef3690d377dab28030daa36fdf Voeg MVP publicatiescript toe. --- 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"))))