diff options
author | Arun Isaac | 2020-03-14 22:58:05 +0530 |
---|---|---|
committer | Arun Isaac | 2020-03-15 02:35:11 +0530 |
commit | e83b52ef4e6ca122fb196bf666e08544ad945e01 (patch) | |
tree | c5891dbd7096713cc8743cd8519754e987c407ce | |
parent | b1b76a30ed130dd5c077237e2c26bac5ce62cd3b (diff) | |
download | ennum-e83b52ef4e6ca122fb196bf666e08544ad945e01.tar.gz ennum-e83b52ef4e6ca122fb196bf666e08544ad945e01.tar.lz ennum-e83b52ef4e6ca122fb196bf666e08544ad945e01.zip |
Consider org-export-with-author when exporting author.
* ennu.el (ennu--feed-entry): Export author only when
org-export-with-author is non-nil.
-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))) |