diff options
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 "/"))) |