summaryrefslogtreecommitdiffstats
path: root/project.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-11-25 01:29:47 +0100
committerGravatar Tom Willemse2013-11-25 01:29:47 +0100
commit879aef7f899a164f40604bfcecd7820e959b11df (patch)
tree76cec70c0ccbbdbec1d09924361a8225f39234c4 /project.el
parentc7712fff5336d04c948bcdb3a1fbc4d8903cf9f4 (diff)
downloadorgweb-879aef7f899a164f40604bfcecd7820e959b11df.tar.gz
orgweb-879aef7f899a164f40604bfcecd7820e959b11df.zip
Separate export of articles
To keep Creation dates somewhat more close to their actual creation date.
Diffstat (limited to 'project.el')
-rw-r--r--project.el19
1 files changed, 14 insertions, 5 deletions
diff --git a/project.el b/project.el
index f712d6d..36ad5fe 100644
--- a/project.el
+++ b/project.el
@@ -2,6 +2,8 @@
(require 'ox-rss)
;; (require 'ox-html)
+(load "common.el")
+
;; (defun org-html-template (contents info)
;; "Return complete document string after HTML conversion.
;; CONTENTS is the transcoded contents string. INFO is a plist
@@ -130,12 +132,8 @@
;; toc-entries "")
;; (org-html--make-string (- prev-level start-level) "</li>\n</ul>\n"))))
-(setq org-html-head-include-scripts nil
- org-html-validation-link nil
- org-publish-use-timestamps-flag nil
- org-html-htmlize-output-type 'css
+(setq org-publish-use-timestamps-flag nil
org-rss-extension "rss"
- org-confirm-babel-evaluate nil
org-publish-project-alist
'(("oni-files"
:base-directory "./"
@@ -146,6 +144,17 @@
("org"
:base-directory "./"
:publishing-directory "_publish/"
+ :recursive nil
+ :base-extension "org"
+ :publishing-function org-html-publish-to-html
+ :section-numbers nil
+ :table-of-contents 1
+ :html-doctype "<!DOCTYPE html>"
+ :html-head "<link href=\"https://ryuslash.org/org.css\" type=\"text/css\" rel=\"stylesheet\" />"
+ :html-link-home "https://ryuslash.org")
+ ("projects"
+ :base-directory "./projects/"
+ :publishing-directory "_publish/projects/"
:recursive t
:base-extension "org"
:publishing-function org-html-publish-to-html