aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/books/templates/from_openlibrary.yaml
blob: e1d8d2503363a118f7f69de4be7bd87a781c07d0 (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
30
31
32
title: '{{ edition.title }}'
subtitle: ''
authors: {% if authors %}{% for a in authors %}
- {{ a.name }}{% endfor %}{% else %}[]{% endif %}
editors: []
binding: ''
purchase_date: ''
purchase_price: ''
publisher: '{{ edition.publishers | join(", ") }}'
edition: ''
copyright_year: []
publication_year: {{ pub_date.year }}
isbn: '{% if edition.isbn_13 %}{{ edition.isbn_13.0 }}{% else %}{% if edition.isbn_10 %}{{ edition.isbn_10.0 }}{% endif %}{% endif %}'
lccn: ''
openlibrary: 'https://openlibrary.org{{ edition.key }}'
pages: {{ edition.number_of_pages }}
translators: []
languages: {% if langs %}{% for l in langs %}
- {{ l }}{% endfor %}{% else %}[]{% endif %}
genres: []
keywords: []
series: ''
series_number: 0
condition: ''
signed:
read:
gift:
loaned:
rating: 0
cover: ''
plot: ''
comments: ''