From 58d31f0316c251da122a0ee49cb845e34aecdb6b Mon Sep 17 00:00:00 2001
From: GRiker Example: Changing year of publication in Description header
- Default: <td class="date">{pubyear}</td>
- Removed: <td class="date"></td>
- Augmented: <td class="date">Year of publication: {pubyear}</td>
-Modified: <td class="date">{pubmonth} {pubyear}</td>
Customizing the Section lists. Templates controlling the display of book titles in the various Section lists (Books by Author, Books by Title, etc) may be edited to taste.
- Available fields in section_list_templates.py:
- {title} - Title of the book
- {series} - Series name
- {series_index} - Number of the book in the series
- {rating} - 0-5 stars
- {rating_parens} - (0-5 stars)
- {pubyear} - Year the book was published
- {pubyear_parens} - (Year the book was published)
- Example: Changing Books by Author to remove year of publication:
-Default:
Code:
- by_authors_normal_title_template = '{title} {pubyear_parens}'
- by_authors_series_title_template = '[{series_index}] {title} {pubyear_parens}'
- Year of publication removed:
Example: Changing Books by Author to remove year of publication:
+ Default:
<img>
+Code:
+
by_authors_normal_title_template = '{title} {pubyear_parens}'
+
by_authors_series_title_template = '[{series_index}] {title} {pubyear_parens}'
+
Year of publication removed:
Code:
by_authors_normal_title_template = '{title}'
by_authors_series_title_template = '[{series_index}] {title}'