From 879aef7f899a164f40604bfcecd7820e959b11df Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 25 Nov 2013 01:29:47 +0100 Subject: Separate export of articles To keep Creation dates somewhat more close to their actual creation date. --- articles/Makefile | 6 ++++++ articles/project.el | 18 ++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 articles/Makefile create mode 100644 articles/project.el (limited to 'articles') 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 "" + :html-head "" + :html-link-up "../blog.html" + :html-link-home "/"))) -- cgit v1.3-2-g0d8e