summaryrefslogtreecommitdiff
path: root/.config/doom
diff options
context:
space:
mode:
authorThanosApollo <[email protected]>2022-10-06 09:43:24 +0300
committerThanosApollo <[email protected]>2022-10-06 09:43:24 +0300
commitfcb48a6d26c6ec99eac4f6499794b798b54f0316 (patch)
treebbf9de169649614038baa4f75b7cd545f7b23ac6 /.config/doom
parent780e1518d1fd0fa6cb13a79109d9e9401a015866 (diff)
Add org-publish config
Diffstat (limited to '.config/doom')
-rw-r--r--.config/doom/config.el19
1 files changed, 19 insertions, 0 deletions
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. <meta />, <meta/>, <meta>
+
+;; 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)))