From a825427722ed54f8521371cd42cb5090779942b9 Mon Sep 17 00:00:00 2001 From: "Michael P. Jung" Date: Thu, 16 Jul 2020 16:43:46 +0200 Subject: [PATCH] Fix documentation for title and book_title --- book-example/src/format/theme/index-hbs.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/book-example/src/format/theme/index-hbs.md b/book-example/src/format/theme/index-hbs.md index 438d132b..34904559 100644 --- a/book-example/src/format/theme/index-hbs.md +++ b/book-example/src/format/theme/index-hbs.md @@ -19,7 +19,8 @@ Here is a list of the properties that are exposed: - ***language*** Language of the book in the form `en`, as specified in `book.toml` (if not specified, defaults to `en`). To use in \ for example. -- ***title*** Title of the book, as specified in `book.toml` +- ***title*** Title used for the current page. This is identical to `{{ book_title }} - {{ chapter_title }}` unless `book_title` is not set in which case it just defaults to the `chapter_title`. +- ***book_title*** Title of the book, as specified in `book.toml` - ***chapter_title*** Title of the current chapter, as listed in `SUMMARY.md` - ***path*** Relative path to the original markdown file from the source