diff options
author | Gustav Eek <gustav.eek@proceranetworks.com> | 2012-09-02 11:16:43 +0200 |
---|---|---|
committer | Gustav Eek <gustav.eek@proceranetworks.com> | 2012-09-02 11:16:43 +0200 |
commit | 4268b37b330f6a7814de11542893e60978ce6406 (patch) | |
tree | 224b5636c10e52f93b79df6ab85913246f48ef93 | |
parent | 58c11235711c83ae6b8d65b1a703dcbd9bd8d298 (diff) |
In fripost-web.el, 'preamble' changed to 'html-preamble'
On my (Gustav's) computer variables for pre- and postamble need
need to be prefixed with 'html-' for the publish to work.
-rw-r--r-- | fripost-web.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/fripost-web.el b/fripost-web.el index dfdc466..abf4dc0 100644 --- a/fripost-web.el +++ b/fripost-web.el @@ -1,5 +1,8 @@ (require 'org-publish) +;; Force publishing, also of files that are not changed. +(setq org-publish-use-timestamps-flag nil) + (setq org-publish-project-alist `( ("fripost-web-pages" @@ -9,7 +12,7 @@ :exclude "/publish/" :recursive t :publishing-function org-publish-org-to-html - :preamble "<div class=\"header\"> + :html-preamble "<div class=\"header\"> <h1><img src=\"images/logo2011_top.png\" alt=\"fripost.org | demokratisk e-post\" /></h1> <a href=\"index.en.html\" class=\"translate\">Click here for English</a> </div> @@ -25,7 +28,7 @@ <div class=\"container\"> <div class=\"content\">" - :postamble "<div class=\"divider\"></div> + :html-postamble "<div class=\"divider\"></div> <div class=\"footer\"> |