diff options
-rw-r--r-- | ennu.el | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -57,7 +57,8 @@ (ennu-make-post :filename filename :slug (file-name-base filename) - :author (funcall export (first (plist-get metadata :author))) + :author (when-let (author (plist-get metadata :author)) + (funcall export (first author))) :date (org-timestamp-to-time (first (plist-get metadata :date))) :language (plist-get metadata :language) :links links |