summaryrefslogtreecommitdiff
path: root/publish.el
blob: 9575451b612162cd0b1cf311affc827dec2d7761 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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"))))