Inherit the EXPORT_AUTHOR property too

master
Kaushal Modi 7 years ago
parent ba9db7318c
commit 5be9bae6fe
  1. 3
      ox-hugo.el
  2. 7
      test/site/content-org/all-posts.org

@ -3532,7 +3532,8 @@ are \"toml\" and \"yaml\"."
"HUGO_SLUG" ;Useful for inheriting same slug to same posts in different languages
"HUGO_PANDOC_CITATIONS"
"BIBLIOGRAPHY"
"HUGO_AUTO_SET_LASTMOD")))
"HUGO_AUTO_SET_LASTMOD"
"AUTHOR")))
(mapcar (lambda (str)
(concat "EXPORT_" str))
prop-list)))

@ -5350,11 +5350,14 @@ auto-prefixed with the section for the current post.
:EXPORT_HUGO_ALIASES: /alias-test/alias-g /alias-test/alias-h
:END:
** Author :author:
*** Single author
*** Single author parent subtree
:PROPERTIES:
:EXPORT_FILE_NAME: single-author
:EXPORT_AUTHOR: Foo Bar
:END:
**** Single author
:PROPERTIES:
:EXPORT_FILE_NAME: single-author
:END:
This post has 1 author set as a TOML list in front-matter.
*** Single author as a custom parameter :custom_fm:
:PROPERTIES:

Loading…
Cancel
Save