(require 'org-publish)
(setq org-publish-project-alist
`(
("fripost-web-pages"
:base-directory ,default-directory
:base-extension "org"
:publishing-directory ,(concat default-directory "/publish/")
:exclude "/publish/"
:recursive t
:publishing-function org-publish-org-to-html
:preamble "
"
:auto-preamble nil
:auto-postamble nil
:headline-levels 4 ; Just the default for this project.
:auto-preamble t
)
("fripost-web-static"
:base-directory ,default-directory
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg"
:publishing-directory ,(concat default-directory "/publish/")
:exclude "/publish/"
:recursive t
:publishing-function org-publish-attachment
)
("fripost-web" :components ("fripost-web-pages" "fripost-web-static"))
))
;; M-x org-publish-project RET fripost-web