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 `
` tag |
-| `layouts/partials/docs/inject/body.html` | Before closing `` tag |
-| `layouts/partials/docs/inject/footer.html` | Before closing `` tag |
-| `layouts/partials/docs/inject/menu-before.html` | At the beginning of `` menu block |
-| `layouts/partials/docs/inject/menu-after.html` | At the end of `` menu block |
+| Partial | Placement |
+| -- | -- |
+| `layouts/partials/docs/inject/head.html` | Before closing `` tag |
+| `layouts/partials/docs/inject/body.html` | Before closing `` tag |
+| `layouts/partials/docs/inject/footer.html` | After page content |
+| `layouts/partials/docs/inject/menu-before.html` | At the beginning of `` menu block |
+| `layouts/partials/docs/inject/menu-after.html` | At the end of `` menu block |
### Extra Customization
diff --git a/exampleSite/content/docs/_index.md b/exampleSite/content/docs/_index.md
deleted file mode 100644
index cb314c0..0000000
--- a/exampleSite/content/docs/_index.md
+++ /dev/null
@@ -1,4 +0,0 @@
----
-weight: 1
-bookFlatSection: true
----
diff --git a/exampleSite/content/docs/hidden.md b/exampleSite/content/docs/hidden.md
new file mode 100644
index 0000000..df7cb9e
--- /dev/null
+++ b/exampleSite/content/docs/hidden.md
@@ -0,0 +1,52 @@
+---
+bookHidden: true
+---
+
+# This page is hidden in menu
+
+# Quondam non pater est dignior ille Eurotas
+
+## Latent te facies
+
+Lorem markdownum arma ignoscas vocavit quoque ille texit mandata mentis ultimus,
+frementes, qui in vel. Hippotades Peleus [pennas
+conscia](http://gratia.net/tot-qua.php) cuiquam Caeneus quas.
+
+- Pater demittere evincitque reddunt
+- Maxime adhuc pressit huc Danaas quid freta
+- Soror ego
+- Luctus linguam saxa ultroque prior Tatiumque inquit
+- Saepe liquitur subita superata dederat Anius sudor
+
+## Cum honorum Latona
+
+O fallor [in sustinui
+iussorum](http://www.spectataharundine.org/aquas-relinquit.html) equidem.
+Nymphae operi oris alii fronde parens dumque, in auro ait mox ingenti proxima
+iamdudum maius?
+
+ reality(burnDocking(apache_nanometer),
+ pad.property_data_programming.sectorBrowserPpga(dataMask, 37,
+ recycleRup));
+ intellectualVaporwareUser += -5 * 4;
+ traceroute_key_upnp /= lag_optical(android.smb(thyristorTftp));
+ surge_host_golden = mca_compact_device(dual_dpi_opengl, 33,
+ commerce_add_ppc);
+ if (lun_ipv) {
+ verticalExtranet(1, thumbnail_ttl, 3);
+ bar_graphics_jpeg(chipset - sector_xmp_beta);
+ }
+
+## Fronde cetera dextrae sequens pennis voce muneris
+
+Acta cretus diem restet utque; move integer, oscula non inspirat, noctisque
+scelus! Nantemque in suas vobis quamvis, et labori!
+
+ var runtimeDiskCompiler = home - array_ad_software;
+ if (internic > disk) {
+ emoticonLockCron += 37 + bps - 4;
+ wan_ansi_honeypot.cardGigaflops = artificialStorageCgi;
+ simplex -= downloadAccess;
+ }
+ var volumeHardeningAndroid = pixel + tftp + onProcessorUnmount;
+ sector(memory(firewire + interlaced, wired));
\ No newline at end of file
diff --git a/exampleSite/content/docs/fida-abluere/_index.md b/exampleSite/content/docs/sub-section/_index.md
similarity index 100%
rename from exampleSite/content/docs/fida-abluere/_index.md
rename to exampleSite/content/docs/sub-section/_index.md
diff --git a/exampleSite/content/docs/fida-abluere/ego-numen.md b/exampleSite/content/docs/sub-section/ego-numen.md
similarity index 100%
rename from exampleSite/content/docs/fida-abluere/ego-numen.md
rename to exampleSite/content/docs/sub-section/ego-numen.md
diff --git a/exampleSite/content/docs/fida-abluere/natusque.md b/exampleSite/content/docs/sub-section/natusque.md
similarity index 100%
rename from exampleSite/content/docs/fida-abluere/natusque.md
rename to exampleSite/content/docs/sub-section/natusque.md
diff --git a/layouts/partials/docs/menu-filetree.html b/layouts/partials/docs/menu-filetree.html
index b0f28c0..4f4cb0c 100644
--- a/layouts/partials/docs/menu-filetree.html
+++ b/layouts/partials/docs/menu-filetree.html
@@ -15,7 +15,7 @@
{{ end }}
{{ else }}
- {{ range $sections }}
+ {{ range where $sections "Params.bookhidden" "!=" true }}
{{ template "book-section" (dict "Section" . "CurrentPage" $.Permalink) }}
{{ end }}
@@ -38,10 +38,10 @@
{{ define "book-section-children" }}
{{ with .Section }}
- {{ range .Sections }}
+ {{ range where .Sections "Params.bookhidden" "!=" true }}
{{ template "book-section" (dict "Section" . "CurrentPage" $.CurrentPage) }}
{{ end }}
- {{ range .Pages }}
+ {{ range where .Pages "Params.bookhidden" "!=" true }}
{{ template "book-page-link" (dict "Page" . "CurrentPage" $.CurrentPage) }}