all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* `: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)
  To: emacs-orgmode

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/

^ 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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.