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:
Jan Larres 2015-06-03 00:28:55 +12:00
parent 7db51bc9ae
commit afd95e8e11
2 changed files with 2 additions and 2 deletions

View file

@ -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>

View file

@ -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>