Use creator.role instead of creator.type
The EPUB metadata description specifies "role" for creators, not "type": http://pandoc.org/README.html#epub-metadata This fixed the two epub templates to use the correct syntax.
This commit is contained in:
parent
7db51bc9ae
commit
afd95e8e11
2 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ $for(author)$
|
|||
<h2 class="author">$author$</h2>
|
||||
$endfor$
|
||||
$for(creator)$
|
||||
<h2 class="$creator.type$">$creator.text$</h2>
|
||||
<h2 class="$creator.role$">$creator.text$</h2>
|
||||
$endfor$
|
||||
$if(publisher)$
|
||||
<p class="publisher">$publisher$</p>
|
||||
|
|
|
@ -39,7 +39,7 @@ $for(author)$
|
|||
<h2 class="author">$author$</h2>
|
||||
$endfor$
|
||||
$for(creator)$
|
||||
<h2 class="$creator.type$">$creator.text$</h2>
|
||||
<h2 class="$creator.role$">$creator.text$</h2>
|
||||
$endfor$
|
||||
$if(publisher)$
|
||||
<p class="publisher">$publisher$</p>
|
||||
|
|
Loading…
Add table
Reference in a new issue