emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: pw <pw@riseup.net>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: modify postamble in html export
Date: Sat, 21 Sep 2013 11:00:55 +0200	[thread overview]
Message-ID: <523D6047.5020707@riseup.net> (raw)
In-Reply-To: <87eh8iola8.fsf@ericabrahamsen.net>

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...

  reply	other threads:[~2013-09-21  9:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-20 13:17 modify postamble in html export pw
2013-09-20 15:25 ` Nicolas Goaziou
2013-09-21  4:23 ` Eric Abrahamsen
2013-09-21  9:00   ` pw [this message]
2013-09-21  9:25     ` Eric Abrahamsen
  -- strict thread matches above, loose matches on Subject: below --
2013-09-19 12:19 pw
2013-09-19 14:49 ` Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=523D6047.5020707@riseup.net \
    --to=pw@riseup.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=eric@ericabrahamsen.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

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).