From 1852b16d938e978409b9066b5fa2bf27b1a0f496 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Tue, 26 Apr 2022 13:14:22 +0200 Subject: #440L Adjust bookHref, check .Content again, add redirect --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 3edbc5c..25f5278 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ hugo server --minify --theme hugo-book By default, the theme will render pages from the `content/docs` section as a menu in a tree structure. You can set `title` and `weight` in the front matter of pages to adjust the order and titles in the menu. -### Leaf bundle menu (Deprecated) +### Leaf bundle menu (Deprecated, to be removed in June 2022) You can also use leaf bundle and the content of its `index.md` file as menu. Given you have the following file structure: @@ -179,6 +179,7 @@ disableKinds = ['taxonomy', 'taxonomyTerm'] # (Optional, default none) Set leaf bundle to render as side menu # When not specified file structure and weights will be used + # Deprecated, to be removed in June 2022 BookMenuBundle = '/menu' # (Optional, default docs) Specify section of content to render as menu @@ -260,6 +261,9 @@ bookComments = true # (Optional) Set to 'false' to exclude page from search index. bookSearchExclude = true + +# (Optional) Set explicit href attribute for this page in a menu (if BookMenuBundle not set) +bookHref = '' ``` ### Partials -- cgit v1.2.3