summaryrefslogtreecommitdiff
path: root/publish.el
diff options
context:
space:
mode:
Diffstat (limited to 'publish.el')
-rw-r--r--publish.el28
1 files changed, 28 insertions, 0 deletions
diff --git a/publish.el b/publish.el
new file mode 100644
index 0000000..9575451
--- /dev/null
+++ b/publish.el
@@ -0,0 +1,28 @@
+(package-initialize)
+
+(require 'ox-publish)
+
+(setq org-publish-project-alist
+ '(("pages"
+ :base-directory "pages"
+ :base-extension "org"
+ :publishing-directory "site"
+ :recursive t
+ :publishing-function org-html-publish-to-html
+ :html-head "<link rel='stylesheet' href='../css/default.css' type='text/css'/>"
+ :html-prefer-user-labels t
+ :html-mathjax-options nil
+ :html-mathjax-template ""
+ :with-toc nil
+ :section-numbers nil
+ :html-self-link-headlines t
+ :html-postamble nil
+ )
+ ("css"
+ :base-directory "css"
+ :base-extension "css"
+ :publishing-directory "site/css"
+ :publishing-function org-publish-attachment
+ :recursive t
+ )
+ ("all" :components ("pages" "css"))))