You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the delimiter - for page titles is hardcoded here. This sets the page title to {{ chapter_title }} - {{ book_title }}.
It would be nice to have a config option in book.toml named something like delimiter to have this behaviour:
[output.html]
delimiter = "::"# custom delimiter
will expose the property title as {{ chapter_title }} {{ title_delimiter }} {{ book_title }} to index.hbs.
Currently it is possible to achieve this by replacing {{ title }} in /theme/index.hbs by {{ chapter_title }} :: {{ book_title }}. But I think the config option would be cleaner and less hacky.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Currently, the delimiter
-
for page titles is hardcoded here. This sets the page title to{{ chapter_title }} - {{ book_title }}
.It would be nice to have a config option in
book.toml
named something likedelimiter
to have this behaviour:will expose the property
title
as{{ chapter_title }} {{ title_delimiter }} {{ book_title }}
toindex.hbs
.Currently it is possible to achieve this by replacing
{{ title }}
in/theme/index.hbs
by{{ chapter_title }} :: {{ book_title }}
. But I think the config option would be cleaner and less hacky.The text was updated successfully, but these errors were encountered: