Last active
December 15, 2015 20:40
-
-
Save creamidea/5319960 to your computer and use it in GitHub Desktop.
The fundamentals of publishing html are described in the HTML publishing tutorial on worg. I am assuming that you have a basic working org publishing setup. By default org produces complete web pages. However, as I am using Jekyll I am only really interested in the section of the page between the <body> tags, as Jekyll produces the rest. Most th…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(setq org-publish-project-alist | |
'( | |
("org-ianbarton" | |
;; Path to your org files. | |
:base-directory "~/devel/ianbarton/org/" | |
:base-extension "org" | |
;; Path to your Jekyll project. | |
:publishing-directory "~/devel/ianbarton/jekyll/" | |
:recursive t | |
:publishing-function org-publish-org-to-html | |
:headline-levels 4 | |
:html-extension "html" | |
:body-only t ;; Only export section between <body> </body> | |
) | |
("org-static-ian" | |
:base-directory "~/devel/ianbarton/org/" | |
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|php" | |
:publishing-directory "~/devel/ianbarton/" | |
:recursive t | |
:publishing-function org-publish-attachment) | |
("ian" :components ("org-ianbarton" "org-static-ian")) | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment