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
Copy file name to clipboardExpand all lines: book-example/src/format/theme/index-hbs.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,8 @@ Here is a list of the properties that are exposed:
19
19
20
20
-***language*** Language of the book in the form `en`, as specified in `book.toml` (if not specified, defaults to `en`). To use in <code
21
21
class="language-html">\<html lang="{{ language }}"></code> for example.
22
-
-***title*** Title of the book, as specified in `book.toml`
22
+
-***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`.
23
+
-***book_title*** Title of the book, as specified in `book.toml`
23
24
-***chapter_title*** Title of the current chapter, as listed in `SUMMARY.md`
24
25
25
26
-***path*** Relative path to the original markdown file from the source
0 commit comments