Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (require 'ox-publish)
- (setq org-publish-project-alist
- '(
- ;; ... add all the components here (see below)...
- ("org-notes"
- :base-directory "~/org/"
- :base-extension "org"
- :publishing-directory "~/public_html/"
- :recursive t
- :publishing-function org-html-publish-to-html
- :headline-levels 4 ; Just the default for this project.
- :auto-preamble t
- )
- ("org-static"
- :base-directory "~/org/"
- :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
- :publishing-directory "~/public_html/"
- :recursive t
- :publishing-function org-publish-attachment
- )
- ))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement