emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Brady Trainor <mail@bradyt.com>
To: org-mode <emacs-orgmode@gnu.org>
Subject: Re: keyword :html-postamble-format seems to not be used
Date: Thu, 03 May 2018 15:08:16 -0700	[thread overview]
Message-ID: <20180503220817.A0A85E4474@mailuser.nyi.internal> (raw)
In-Reply-To: <20180503215608.5612AE4E8F@mailuser.nyi.internal>

Brady Trainor <mail@bradyt.com> writes:
> [...]

However, since `:html-postamble` accepts a function, I found it straightforward to take a bit from the source code and write the following,

#+begin_src emacs-lisp
:html-postamble
(lambda (info) (format
                "<p class=\"date\">%s: %s</p>\n"
                (org-html--translate "Created" info)
                (format-time-string
                 (plist-get info :html-metadata-timestamp-format))))
#+end_src

-- 
Brady

  reply	other threads:[~2018-05-03 22:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-03 21:56 keyword :html-postamble-format seems to not be used Brady Trainor
2018-05-03 22:08 ` Brady Trainor [this message]
2018-05-03 22:27 ` Nicolas Goaziou

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=20180503220817.A0A85E4474@mailuser.nyi.internal \
    --to=mail@bradyt.com \
    --cc=emacs-orgmode@gnu.org \
    /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).