Adding org-publish to Doom Emacs.

This commit is contained in:
Derek Taylor
2021-08-20 17:09:21 -05:00
parent 71bf59cd53
commit 2f328fc0f5
6 changed files with 140 additions and 94 deletions

View File

@@ -433,6 +433,24 @@
(use-package ox-man)
(use-package ox-gemini)
(use-package ox-publish)
(setq org-publish-project-alist
'(("org-notes"
:base-directory "~/Org/website"
:base-extension "org"
:publishing-directory "~/public_html/"
:recursive t
:publishing-function org-html-publish-to-html
:headline-levels 4 ; Just the default for this project.
:auto-preamble t)
("org-static"
:base-directory "~/Org/website"
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
:publishing-directory "~/public_html/"
:recursive t
:publishing-function org-publish-attachment)
))
(use-package! password-store)