[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] `:html-postamble' and `org-get-file-contents'
From: |
Feng Li |
Subject: |
[O] `:html-postamble' and `org-get-file-contents' |
Date: |
Sat, 10 Mar 2012 16:48:42 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 |
Dear all,
Can someone tell me how to use the function `org-get-file-contents'
together with `:html-postamble'?
I have a line in my .emacs `org-publish-project-alist' as follows
:html-postamble ,(org-get-file-contents
"~/workspace/web/html/style/postamble.html")
where my `postamble.html' is just a sentence "Edited by Feng Li". This
seems to have no effect because I still get the default postamble
like this when I publish the project
Author: Feng Li Date: 2012-03-10 12:46:36 CET Generated by Org
version 7.8.03 with Emacs version 24
While if I change the html-postamble to the string directly
:html-postamble "Edited by Feng Li"
it shows the postamble changes accordingly.
Thanks in advance!
Feng
--
Feng Li
Department of Statistics
Stockholm University
106 91 Stockholm, Sweden
http://feng.li/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] `:html-postamble' and `org-get-file-contents',
Feng Li <=