another try
This commit is contained in:
parent
0a6d017bad
commit
67d4446808
1 changed files with 13 additions and 30 deletions
43
publish.el
43
publish.el
|
@ -128,16 +128,7 @@
|
|||
:sitemap-format-entry my/org-publish-org-sitemap-format
|
||||
:sitemap-sort-files anti-chronologically
|
||||
:sitemap-title "Blog")
|
||||
("org-rss"
|
||||
:publishing-directory "~/public_html"
|
||||
:base-directory "~/blog/"
|
||||
:base-extension "org"
|
||||
:exclude "index.org"
|
||||
:publishing-function publish-posts-rss-feed
|
||||
:rss-extension "xml"
|
||||
:html-link-home "https://jjanzen.ca"
|
||||
:html-link-use-abs-url t
|
||||
:html-link-org-files-as-html t
|
||||
("org-gen-rss"
|
||||
:auto-sitemap t
|
||||
:sitemap-function posts-rss-feed
|
||||
:sitemap-title "jjanzen's Blog"
|
||||
|
@ -145,6 +136,17 @@
|
|||
:sitemap-style list
|
||||
:sitemap-sort-files anti-chronologically
|
||||
:sitemap-format-entry format-posts-rss-feed-entry)
|
||||
("org-rss"
|
||||
:publishing-directory "~/public_html"
|
||||
:base-directory "~/blog/"
|
||||
:base-extension "org"
|
||||
:exclude ".*"
|
||||
:include "rss.org"
|
||||
:publishing-function (org-rss-publish-to-rss)
|
||||
:rss-extension "xml"
|
||||
:html-link-home "https://jjanzen.ca"
|
||||
:html-link-use-abs-url t
|
||||
:html-link-org-files-as-html t)
|
||||
("org-config"
|
||||
:base-directory "~/dotfiles/"
|
||||
:base-extension "org"
|
||||
|
@ -165,24 +167,5 @@
|
|||
:publishing-directory "~/public_html/dotfiles"
|
||||
:recursive t
|
||||
:publishing-function org-publish-attachment)
|
||||
("org" :components ("org-core" "org-static-website" "org-config" "org-blog" "org-rss"))))
|
||||
("org" :components ("org-core" "org-static-website" "org-config" "org-blog" "org-gen-rss" "org-rss"))))
|
||||
(org-publish-all t)
|
||||
|
||||
(org-rss-publish-to-rss '(:publishing-directory
|
||||
"~/public_html"
|
||||
:base-directory
|
||||
"~/blog"
|
||||
:base-extension
|
||||
"org"
|
||||
:publishing-function
|
||||
(org-rss-publish-to-rss)
|
||||
:rss-extension
|
||||
"xml"
|
||||
:html-link-home
|
||||
"https://jjanzen.ca"
|
||||
:html-link-use-abs-url
|
||||
t
|
||||
:html-link-org-files-as-html
|
||||
t)
|
||||
"~/blog/rss.org"
|
||||
"/root/public_html")
|
||||
|
|
Loading…
Add table
Reference in a new issue