aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Larres <jan@majutsushi.net>2015-06-03 00:28:55 +1200
committerJan Larres <jan@majutsushi.net>2015-06-03 00:28:55 +1200
commitafd95e8e11f46ebfb5b7ff973412b7a5fc857f74 (patch)
tree7711b26ecfb0c695450d2bdaf2f0f6942948c857
parent7db51bc9ae6afe0de79804346075d2001ba757e2 (diff)
downloadpandoc-afd95e8e11f46ebfb5b7ff973412b7a5fc857f74.tar.gz
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.
-rw-r--r--default.epub2
-rw-r--r--default.epub32
2 files changed, 2 insertions, 2 deletions
diff --git a/default.epub b/default.epub
index 74c1dc6aa..1c042ff1e 100644
--- a/default.epub
+++ b/default.epub
@@ -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>
diff --git a/default.epub3 b/default.epub3
index a8d6c1716..0325d53eb 100644
--- a/default.epub3
+++ b/default.epub3
@@ -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>