summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-04-30 22:16:02 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-04-30 22:16:02 +0200
commitffd5e272a8c42becf977125e6e9826ad26e68d23 (patch)
treefdd242289e96889b978163934ac11de7c972a52e /README.md
parent5b963180ab77741190d260cb33ddbb3dca5a27cd (diff)
#43, Add bookHidden page param to hide page from side menu
Diffstat (limited to 'README.md')
-rw-r--r--README.md19
1 files changed, 11 insertions, 8 deletions
diff --git a/README.md b/README.md
index 6f648d9..aac8e1b 100644
--- a/README.md
+++ b/README.md
@@ -149,7 +149,10 @@ weight: 10
# (Optional) Set to mark page as flat section in file-tree menu (if BookMenuBundle not set)
bookFlatSection: true
-# (Optional) Set to hide table of contents, overrides global value
+# (Optional) Set true to hide page or section from side menu (if BookMenuBundle not set)
+bookHidden: true
+
+# (Optional) Set true to hide table of contents, overrides global value
bookShowToC: false
---
```
@@ -158,13 +161,13 @@ bookShowToC: false
### Partials
There are few empty partials you can override in `layouts/partials/`
-| Partial | Placement |
-| -- | -- |
-| `layouts/partials/docs/inject/head.html` | Before closing `<head>` tag |
-| `layouts/partials/docs/inject/body.html` | Before closing `<body>` tag |
-| `layouts/partials/docs/inject/footer.html` | Before closing `<body>` tag |
-| `layouts/partials/docs/inject/menu-before.html` | At the beginning of `<nav>` menu block |
-| `layouts/partials/docs/inject/menu-after.html` | At the end of `<nav>` menu block |
+| Partial | Placement |
+| -- | -- |
+| `layouts/partials/docs/inject/head.html` | Before closing `<head>` tag |
+| `layouts/partials/docs/inject/body.html` | Before closing `<body>` tag |
+| `layouts/partials/docs/inject/footer.html` | After page content |
+| `layouts/partials/docs/inject/menu-before.html` | At the beginning of `<nav>` menu block |
+| `layouts/partials/docs/inject/menu-after.html` | At the end of `<nav>` menu block |
### Extra Customization