diff options
Diffstat (limited to 'ennu.el')
-rw-r--r-- | ennu.el | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -259,9 +259,10 @@ last form in BODY." `(entry (id ,link) (title :xml:lang ,(ennu-post-language post) ,(ennu-post-title post)) (updated ,(ennu--atom-date (ennu-post-date post))) - (author - (name ,(ennu-post-author post)) - (email ,user-mail-address)) + ,@(when org-export-with-author + `((author + (name ,(ennu-post-author post)) + (email ,user-mail-address)))) (content :type "html" :xml:lang ,(ennu-post-language post) ,(ennu-with-file-contents (ennu-post-filename post) (org-export-as 'ennu-html nil nil t))) |