In the example openlibrary template, use isbn_10 if there is no isbn_13
1 files changed, 1 insertions(+), 1 deletions(-) M docs/examples/books/templates/from_openlibrary.yaml
M docs/examples/books/templates/from_openlibrary.yaml => docs/examples/books/templates/from_openlibrary.yaml +1 -1
@@ 10,7 10,7 @@ publisher: '{{ edition.publishers | join(", ") }}' edition: '' copyright_year: [] publication_year: {{ pub_date.year }} isbn: '{{ edition.isbn_13.0 }}' 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 }}