diff --git a/resources/catalog/help_epub_mobi.html b/resources/catalog/help_epub_mobi.html index 9eb491697d..3acfe7b634 100644 --- a/resources/catalog/help_epub_mobi.html +++ b/resources/catalog/help_epub_mobi.html @@ -29,6 +29,16 @@ h3 { font-family: "Courier New", Courier, monospace; font-size: 90%; } +.code_header { + text-indent: 2em; +} +.code_body { + font-family: "Lucida Console", Monaco, monospace; + background-color: #EEE; + font-size: .9em; + margin-left: 2em; + margin-top: 0px; +} @@ -157,25 +167,45 @@ h3 {
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}'