23 lines
739 B
EmacsLisp
23 lines
739 B
EmacsLisp
(require 'ox-publish)
|
|
(require 'ox-rss)
|
|
|
|
(setq org-export-exclude-tags '("noexport" "draft"))
|
|
|
|
(setq org-publish-project-alist
|
|
'(("ryuslash.org"
|
|
:base-directory "."
|
|
:publishing-directory "public_html"
|
|
:exclude "\\`README.org\\'"
|
|
:base-extension "org"
|
|
:publishing-function org-html-publish-to-html
|
|
:html-head "<link rel=\"stylesheet\" href=\"/assets/css/main.css\" type=\"text/css\"/>")
|
|
("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))
|