Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

org-publish setup.

  • Loading branch information...
commit 6763b939db8acbd253d1273ebce4c5aa72365c68 1 parent fc7f870
@tiagosab authored
Showing with 33 additions and 0 deletions.
  1. +33 −0 ts-goodies/setup-org-publish.el
View
33 ts-goodies/setup-org-publish.el
@@ -0,0 +1,33 @@
+(setq org-jekyll-category "subject")
+
+(setq org-publish-project-alist
+ '(
+ ("org-hack"
+ ;; Path to your org files.
+ :base-directory "~/h/hack/"
+ :base-extension "org"
+
+ ;; Path to your Jekyll project.
+ :publishing-directory "~/h/hack/html/"
+ :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-jekyll extensions
+ :blog-publishing-directory "~/h/hack/"
+ :site-root "http://tiagosab.github.com"
+ :jekyll-sanitize-permalinks t
+ )
+
+
+ ("org-static-hack"
+ :base-directory "~/h/hack"
+ :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|php"
+ :publishing-directory "~/h/hack/html"
+ :recursive t
+ :publishing-function org-publish-attachment)
+
+ ("ts" :components ("org-hack" "org-static-hack"))
+))
Please sign in to comment.
Something went wrong with that request. Please try again.