diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2021-01-03 12:25:15 +0100 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2021-01-03 12:25:15 +0100 |
commit | 1b51ac55d3863e2800d3eabddef7e861c49d5d62 (patch) | |
tree | b7ba58c3d123e3689a09114539f321c0a395fc18 /docs/examples/books/settings.yaml | |
parent | ed352fe84d7a91aeb96c4048351d4be3793e6d61 (diff) |
New collection example: books
Diffstat (limited to 'docs/examples/books/settings.yaml')
-rw-r--r-- | docs/examples/books/settings.yaml | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/docs/examples/books/settings.yaml b/docs/examples/books/settings.yaml new file mode 100644 index 0000000..b4c531b --- /dev/null +++ b/docs/examples/books/settings.yaml @@ -0,0 +1,93 @@ +name: My Books +lang: english +entry_label: '{{ short_id }}: {{ authors | join("; ") }} - {{ title }}' +git: false +fields: +- name: title + type: string + index: free +- name: subtitle + type: string + index: free +- name: authors + type: list + list: string + index: free +- name: editors + type: list + list: string + index: free +- name: binding + type: string +- name: purchase_date + type: string + index: field +- name: purchase_price + type: string + index: field +- name: publisher + type: string + index: field +- name: edition + type: string +- name: copyright_year + type: list + list: integer + index: field +- name: publication_year + type: integer + index: field +- name: isbn + type: string + index: field +- name: lccn + type: string + index: field +- name: pages + type: integer +- name: translators + type: list + list: string +- name: languages + type: list + list: string + index: field +- name: genres + type: list + list: string + index: field +- name: keywords + type: list + list: string + index: field +- name: series + type: string + index: field +- name: series_number + type: integer +- name: condition + type: string + index: field +- name: signed + type: boolean + index: field +- name: read + type: boolean + index: field +- name: gift + type: boolean + index: field +- name: loaned + type: boolean + index: field +- name: rating + type: integer + index: field +- name: cover + type: file +- name: plot + type: text + index: field +- name: comments + type: text + index: field |