summaryrefslogtreecommitdiffstats
path: root/.emacs.d/project.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-04-20 16:50:24 +0200
committerGravatar Tom Willemse2014-04-20 16:50:24 +0200
commit329b8457113ad3ff90b5ba944465275aec5f06f2 (patch)
tree3f7264550b34f25205a9475adcc8eb4f9c84004c /.emacs.d/project.el
parenta2018e6d804c317e324a5c9d42ec1d44e828b2ff (diff)
downloademacs-329b8457113ad3ff90b5ba944465275aec5f06f2.tar.gz
emacs-329b8457113ad3ff90b5ba944465275aec5f06f2.zip
Add export and publish targets
These targets export and publish my Emacs init to my website.
Diffstat (limited to '.emacs.d/project.el')
-rw-r--r--.emacs.d/project.el13
1 files changed, 13 insertions, 0 deletions
diff --git a/.emacs.d/project.el b/.emacs.d/project.el
new file mode 100644
index 0000000..6ddfad1
--- /dev/null
+++ b/.emacs.d/project.el
@@ -0,0 +1,13 @@
+(require 'ox-publish)
+
+(setq org-publish-use-timestamps-flag nil
+ org-html-htmlize-output-type 'css
+ org-publish-project-alist
+ '(("org"
+ :base-directory "./"
+ :publishing-directory "_publish/"
+ :recursive nil
+ :base-extension "org"
+ :publishing-function org-html-publish-to-html
+ :html-doctype "<!DOCTYPE html>"
+ :html-link-home "https://ryuslash.org")))