From e2188136e102ca7790f0b9e5efec65b49face6f1 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Wed, 9 Oct 2019 01:00:26 +0200 Subject: #51, Add experimental bookCollapseSection page param to hide nested sections --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 388469b..6e59f90 100644 --- a/README.md +++ b/README.md @@ -179,6 +179,9 @@ weight = 10 # (Optional) Set to mark page as flat section in file-tree menu (if BookMenuBundle not set) bookFlatSection = true +# (Optional, Experimental) Set to hide nested sections or pages at that level. Works only with file-tree menu mode +bookCollapseSection = true + # (Optional) Set true to hide page or section from side menu (if BookMenuBundle not set) bookHidden = true @@ -200,11 +203,12 @@ There are few empty partials you can override in `layouts/partials/` ### Extra Customisation -| File | Description | -| --------------------- | ------------------------------------------------------------------------------------- | -| `static/favicon.png` | Override default favicon | -| `assets/_custom.scss` | Customise or override scss styles | -| `assets/_fonts.scss` | Replace default font with custom fonts (e.g. local files or remote like google fonts) | +| File | Description | +| ------------------------ | ------------------------------------------------------------------------------------- | +| `static/favicon.png` | Override default favicon | +| `assets/_custom.scss` | Customise or override scss styles | +| `assets/_variables.scss` | Override default SCSS variables | +| `assets/_fonts.scss` | Replace default font with custom fonts (e.g. local files or remote like google fonts) | ### Hugo Internal Templates -- cgit v1.2.3