From fcb48a6d26c6ec99eac4f6499794b798b54f0316 Mon Sep 17 00:00:00 2001 From: ThanosApollo Date: Thu, 6 Oct 2022 09:43:24 +0300 Subject: Add org-publish config --- .config/doom/config.el | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to '.config/doom/config.el') diff --git a/.config/doom/config.el b/.config/doom/config.el index 8ecf504..8f353ae 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -219,3 +219,22 @@ (setq emmet-self-closing-tag-style " /") ;; default "/" ;; only " /", "/" and "" are valid. ;; eg. , , + +;; Org Publish +(setq org-publish-use-timestamps-flags nil) +(setq org-export-with-broken-links t) +(setq org-publish-project-alist + '(("thanos_apollo" + :base-directory "~/Developer/Web/my_site/" + :base-extension "org" + :publishing-rectory "~/Developer/Web/my_site/html/" + :recurse t + :publishing-function org-html-publish-to-html + :headline-levels 4 + :auto-preamble t) + ("org-static" + :base-directory "~/org/website" + :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|ogg\\|swf" + :publishing-directory "~/public_html" + :recursive t + :publishing-function org-publish-attachment))) -- cgit v1.2.3