diff options
author | Tom Willemse | 2013-11-25 01:29:47 +0100 |
---|---|---|
committer | Tom Willemse | 2013-11-25 01:29:47 +0100 |
commit | 879aef7f899a164f40604bfcecd7820e959b11df (patch) | |
tree | 76cec70c0ccbbdbec1d09924361a8225f39234c4 /articles | |
parent | c7712fff5336d04c948bcdb3a1fbc4d8903cf9f4 (diff) | |
download | orgweb-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 'articles')
-rw-r--r-- | articles/Makefile | 6 | ||||
-rw-r--r-- | articles/project.el | 18 |
2 files changed, 24 insertions, 0 deletions
diff --git a/articles/Makefile b/articles/Makefile new file mode 100644 index 0000000..3782fe7 --- /dev/null +++ b/articles/Makefile @@ -0,0 +1,6 @@ +all: + +export: + emacs -L $(CURDIR) -L ~/.emacs.d/vendor-lisp/org/lisp \ + -L ~/.emacs.d/vendor-lisp/org/contrib/lisp -batch -l project.el \ + -f org-publish-all diff --git a/articles/project.el b/articles/project.el new file mode 100644 index 0000000..5c65cfc --- /dev/null +++ b/articles/project.el @@ -0,0 +1,18 @@ +(require 'org-publish) + +(load "../common.el") + +(setq org-publish-use-timestamps-flag t + org-publish-project-alist + '(("blog" + :base-directory "./" + :publishing-directory "../_publish/articles/" + :recursive nil + :base-extension "org" + :publishing-function org-html-publish-to-html + :section-numbers nil + :table-of-contents nil + :html-doctype "<!DOCTYPE html>" + :html-head "<link href=\"https://ryuslash.org/org.css\" type=\"text/css\" rel=\"stylesheet\" />" + :html-link-up "../blog.html" + :html-link-home "/"))) |