diff options
author | Eric Huss <eric@huss.org> | 2020-12-23 08:55:46 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-23 08:55:46 -0800 |
commit | ba6bffac5a2eac13a10b5fc91601dc167ef89449 (patch) | |
tree | 1491e5a1b97c25f4bcc8f6e45f4a796e41436914 | |
parent | cf2459f730648143c86fecf6db284a93c108052a (diff) | |
parent | 6201e577fe0db2d6060f0ea0fbca9fe10e21d026 (diff) |
Merge pull request #1410 from maximeborges/patch-2
[guide/format/theme/index-hbs] `chapter_title` and `book_title` are inverted
-rw-r--r-- | guide/src/format/theme/index-hbs.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guide/src/format/theme/index-hbs.md b/guide/src/format/theme/index-hbs.md index 34904559..e5331dcc 100644 --- a/guide/src/format/theme/index-hbs.md +++ b/guide/src/format/theme/index-hbs.md @@ -19,7 +19,7 @@ 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 <code class="language-html">\<html lang="{{ language }}"></code> for example. -- ***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`. +- ***title*** Title used for the current page. This is identical to `{{ chapter_title }} - {{ book_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` |