;; This buffer is for text that is not saved, and for Lisp evaluation.
;; To create a file, visit it with C-x C-f and enter text in its buffer.

(require 'ox-publish)
(setq org-publish-project-alist
      '(
        ("pages"
         :base-directory "~/code/website/org/"
         :base-extension "org"
         :publishing-directory "~/code/website/site/"
         :recursive t
         :publishing-function org-html-publish-to-html
         :html-head-include-default-style nil
         :headline-levels 4
         :auto-preamble t
         )
        ("articles"
         :base-directory "~/code/website/org/articles"
         :base-extension "org"
         :publishing-directory "~/code/website/site/"
         :recursive t
         :publishing-function org-html-publish-to-html
         :html-head-include-default-style nil
         :headline-levels 4
         :auto-preamble t
         )
        ("static"
         :base-directory "~/code/website/org/"
         :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
         :publishing-directory "~/code/website/site/"
         :recursive t
         :publishing-function org-publish-attachment
         :html-head-include-default-style nil
         )
        ("org" :components ("pages" "articles" "static"))
      ))
