|
From: | pw |
Subject: | Re: [O] modify postamble in html export |
Date: | Sat, 21 Sep 2013 11:00:55 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130821 Icedove/17.0.8 |
Le 21/09/2013 06:23, Eric Abrahamsen a écrit :
Whoops, that's what I get for posting untested code... As Nicholas points out the function should take an argument, but in your simplest case you can ignore it: (defun my-org-html-postamble (plist) (format "Last update : %s" (format-time-string "%d %b %Y")))
Thanks.I tried this new code (by pasting it into .emacs). But I have the default postamble in the result.
I tried then to achieve the same but by using org-customization which put into .emacs this :
'(org-html-postamble t) '(org-html-postamble-format (quote (("en" "Last update : %d"))))If it was working I would try to modify %d to have a %d %b %Y format. But for now I have only "Last update : " without time...
[Prev in Thread] | Current Thread | [Next in Thread] |