The reason it does not accept your own postamble is because you need to use the #+BIND:
syntax #+BIND:
for the variable to be used when exporting. (See Export Options )
After changing this parameter, I also had to slightly adjust the format so that it corresponded to the required syntax. The default value for org-export-html-postamble-format
:
(("en" "<p class=\"author\">Author: %a (%e)</p> <p class=\"date\">Date: %d</p> <p class=\"creator\">Generated by %c</p> <p class=\"xhtml-validation\">%v</p> "))
So, you will need to do the following to enable it (as close as possible to this format):
(setq org-export-html-postamble-format '(("en" "<p class=\"postamble\">Last Updated %d. Created by %c</p>")))
This, however, will not center your text, it will be exported as follows:
<div id="postamble"> <p class="postamble">Last Updated 2012-03-16 16:22:03 Eastern Daylight Time. Created by Org version 7.8.03 with Emacs version 24 </div>
I believe that you need to customize your stylesheet using p.postamble { text-align: center; }
p.postamble { text-align: center; }
to get centering.
source share