Hi,
I have the org-html-postamble-format set to the below:
(setq org-html-postamble-format
`(("en"
,(concat "Exported using "
;; "%c" is replaced with
`org-html-creator-string'
;; Emacs (Org mode )
""
"%c
"
"by %a. — "
""
"%d
"))))
It works great except for the cases where I have set a document author to
nothing using
#+AUTHOR:
What would be the best way to set the postamble so that the "by %a" portion
does not get printed if the %a value is "".
Right now, if the author is nil, the postamble gets exported as:
Exported using
Emacs 25.0.50.1 (Org
mode 8.3.3)
by . —
Jan 26 2016, Tue