aboutsummaryrefslogtreecommitdiff
path: root/data/templates
blob: 2d5491bc0b167a5b20c03e4bc02ef8b5fc20379f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
tree d5c52fbc6ac28299ca0cc5bb622b12eaf3ac3d05
parent 7be841cee65db23378e659f3be443effa15168a3
author John MacFarlane <jgm@berkeley.edu> 1409511637 -0700
committer John MacFarlane <jgm@berkeley.edu> 1409511637 -0700

EPUB, EPUB3 templates:  Handle structured metadata on titlepage.

Previously we just expected 'title', 'subtitle', 'author', 'date'.

Now we still support those, but also support the format recommended
for epub metadata in the pandoc README:

---
title:
- type: main
  text: My Book
- type: subtitle
  text: An investigation of metadata
creator:
- role: author
  text: John Smith
- role: editor
  text: Sarah Jones
identifier:
- scheme: DOI
  text: doi:10.234234.234/33
publisher:  My Press
rights:  (c) 2007 John Smith, CC BY-NC
...