* `:html-postamble' and `org-get-file-contents'
@ 2012-03-10 15:48 Feng Li
0 siblings, 0 replies; only message in thread
From: Feng Li @ 2012-03-10 15:48 UTC (permalink / raw)
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!
Department of Statistics
106 91 Stockholm, Sweden
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-03-10 15:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-10 15:48 `:html-postamble' and `org-get-file-contents' Feng Li
Code repositories for project(s) associated with this public inbox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).