diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2010-12-19 22:31:20 +0100 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2010-12-19 22:31:20 +0100 |
commit | 60dd4a30e4407757c2a0d2733109f991347a23d5 (patch) | |
tree | 099bbec267ae0f7cd89deb63866946fac58d37e5 | |
parent | 55076d7ed35de304a2cba6011f1d0a7cf61fdc06 (diff) |
Fix publishing to correct directory.
-rw-r--r-- | fripost-web.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fripost-web.el b/fripost-web.el index 1889a4f..a716144 100644 --- a/fripost-web.el +++ b/fripost-web.el @@ -6,6 +6,7 @@ :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 "<div class=\"header\"> @@ -42,7 +43,8 @@ ("fripost-web-static" :base-directory ,default-directory :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg" - :publishing-directory ,(concat default-directory "../publish/") + :publishing-directory ,(concat default-directory "/publish/") + :exclude "/publish/" :recursive t :publishing-function org-publish-attachment ) |