new-ryuslash.org/project-config.el

24 lines
739 B
EmacsLisp
Raw Normal View History

2019-10-06 21:57:14 +02:00
(require 'ox-publish)
(require 'ox-rss)
2019-10-07 03:21:13 +02:00
(setq org-export-exclude-tags '("noexport" "draft"))
2019-10-06 21:57:14 +02:00
(setq org-publish-project-alist
'(("ryuslash.org"
:base-directory "."
:publishing-directory "public_html"
:exclude "\\`README.org\\'"
:base-extension "org"
2019-10-07 03:29:15 +02:00
:publishing-function org-html-publish-to-html
:html-head "<link rel=\"stylesheet\" href=\"/assets/css/main.css\" type=\"text/css\"/>")
2019-10-06 21:57:14 +02:00
("ryuslash-rss"
:base-directory "."
:publishing-directory "public_html"
:exclude ".*"
:include ("index.org")
:base-extension "org"
:publishing-function org-rss-publish-to-rss)))
(defun publish-ryuslash.org ()
(org-publish-all))