ox-html.el: Cleanup pre/postamble handling
commitffdd9e9d731422930a4430efd7c54863e7074571
authorRick Frankel <rick@rickster.com>
Fri, 15 Mar 2013 22:07:13 +0000 (15 18:07 -0400)
committerBastien Guerry <bzg@altern.org>
Sat, 16 Mar 2013 08:23:35 +0000 (16 09:23 +0100)
tree47bdc1b36d5df64d7e54392b90c0cc3b14cac4f9
parent2d2cc48610403d61eaad92bf26263c9d72987057
ox-html.el: Cleanup pre/postamble handling

* lisp/ox-html.el (org-html--timestamp-format): New variable used
in the metadata and the pre/postamble.
(org-html-style-default): Make the preamble and postamble use the
same style.  Make all anchors font-size %100.  Remove margin from
the content section.
(org-html-container-element): Fix docstring.
(org-html-postamble-format, org-html-preamble-format): Update
docstrings.
(org-html-template): Use `org-html--build-pre/postamble'.
(org-html--build-pre/postamble): New function, combining the
pre/postamble generator.  Merge lists of formatters from the
preamble and postamble.  Fix bug, using :time-stamp-file instead
of :with-date for auto display of date: this brings usage in-line
with the latex and beamer exporter.
(org-html--build-postamble, org-html--build-postamble): Delete.
lisp/ox-html.el