Find file
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (25 sloc) 867 Bytes
;; This buffer is for notes you don't want to save, and for Lisp evaluation.
;; If you want to create a file, visit that file with C-x C-f,
;; then enter the text in that file's own buffer.
(require 'org-publish)
(setq org-publish-project-alist
:base-directory "~/org/"
:base-extension "org"
:publishing-directory "~/org/public_html/"
:recursive t
:publishing-function org-publish-org-to-html
:headline-levels 4
:auto-preamble t
:base-directory "~/org"
:base-extension "css\\|js\\|png\\|gif\\|jpg\\|pdf\\|mp3\\"
:publishing-directory "~/org/public_html"
:recursive t
:publishing-function org-publish-attachment
("org" :components ("org-notes" "org-static"))