Use {title} - {authors} as the default download template

This is Calibre's default. An empty template now restores the default.
This commit is contained in:
tim
2026-10-03 08:09:41 +02:00
parent 323bec3c04
commit 2c8a1bb187
6 changed files with 33 additions and 25 deletions
+5 -3
View File
@@ -447,10 +447,12 @@ downloaded before.
## File names of downloaded books
"Download ePub" on a story page sends the book to your browser with a file name. Without a template,
the name is the title, for example `The Book.epub`.
"Download ePub" on a story page sends the book to your browser with a file name. A template gives
the name. The default template is `{title} - {authors}`, as in Calibre. For "The Book" by Ann
Writer, it gives `Book, The - Ann Writer.epub`.
An admin can set a template for the name under "Book Downloads" in Settings. The template follows
An admin can change the template under "Book Downloads" in Settings. To go back to the default,
clear the field and save. The template follows
the rules of [Calibre's templates](https://manual.calibre-ebook.com/template_lang.html) for file
names, so a template from Calibre gives the same name in Bindery. Bindery adds `.epub`. For example,
`{series:|| - }{series_index:0>2s|| - }{title} - {authors}` gives