summaryrefslogtreecommitdiffstats
path: root/project.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-11-24 23:04:18 +0100
committerGravatar Tom Willemse2013-11-24 23:04:18 +0100
commit38adb8d0ac6eebbeb5e26d2095526c3ba9459d7a (patch)
treebc00d817278d80b0d7610b7ef361aae23cebc8e1 /project.el
parent6cbdc4209febfa72a1a107ba95d816bc15b43100 (diff)
downloadorgweb-38adb8d0ac6eebbeb5e26d2095526c3ba9459d7a.tar.gz
orgweb-38adb8d0ac6eebbeb5e26d2095526c3ba9459d7a.zip
Add blog posts
Diffstat (limited to 'project.el')
-rw-r--r--project.el15
1 files changed, 13 insertions, 2 deletions
diff --git a/project.el b/project.el
index 787815b..f712d6d 100644
--- a/project.el
+++ b/project.el
@@ -1,4 +1,5 @@
(require 'org-publish)
+(require 'ox-rss)
;; (require 'ox-html)
;; (defun org-html-template (contents info)
@@ -132,6 +133,9 @@
(setq org-html-head-include-scripts nil
org-html-validation-link nil
org-publish-use-timestamps-flag nil
+ org-html-htmlize-output-type 'css
+ org-rss-extension "rss"
+ org-confirm-babel-evaluate nil
org-publish-project-alist
'(("oni-files"
:base-directory "./"
@@ -148,5 +152,12 @@
:section-numbers nil
:table-of-contents 1
:html-doctype "<!DOCTYPE html>"
- :html-head "<link href=\"//ryuslash.org/org.css\" type=\"text/css\" rel=\"stylesheet\" />"
- :html-link-home "http://ryuslash.org")))
+ :html-head "<link href=\"https://ryuslash.org/org.css\" type=\"text/css\" rel=\"stylesheet\" />"
+ :html-link-home "https://ryuslash.org")
+ ("rss"
+ :base-directory "./"
+ :publishing-directory "_publish/"
+ :base-extension ""
+ :publishing-function org-rss-publish-to-rss
+ :include ("blog.org")
+ :html-link-home "https://ryuslash.org")))