#43, Add bookHidden page param to hide page from side menu

This commit is contained in:
Alex Shpak
2019-04-30 22:16:02 +02:00
parent 5b963180ab
commit ffd5e272a8
7 changed files with 66 additions and 15 deletions
+11 -8
View File
@@ -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