blob: 4a9447b16a24fa65ea6f0865e936daa719515011 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
(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))
|