aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 10 insertions, 5 deletions
diff --git a/README.md b/README.md
index fe1f7d6..f7a87da 100644
--- a/README.md
+++ b/README.md
@@ -15,6 +15,10 @@
- [Shortcodes](#shortcodes)
- [Contributing](#contributing)
+## Breaking changes
+
+> ⚠️ At the moment theme is under development, breaking changes might happen.
+
## Features
- Clean simple design
@@ -123,9 +127,10 @@ enableGitInfo = true
disableKinds = ['taxonomy', 'taxonomyTerm']
[params]
-# (Optional, default true) Show or hide table of contents globally
+# (Optional, default 6) Set how many table of contents levels to be showed on page.
+# Use false to hide ToC, note that 0 will default to 6 (https://gohugo.io/functions/default/)
# You can also specify this parameter per page in front matter
-BookShowToC = true
+BookToC = 3
# (Optional, default none) Set leaf bundle to render as side menu
# When not specified file structure and weights will be used
@@ -174,8 +179,8 @@ bookFlatSection = true
# (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
+# (Optional) Set how many levels of ToC to show. use 'false' to hide ToC completely
+bookToC = 3
```
### Partials
@@ -235,7 +240,7 @@ Organize text in 2 or more columns to use space efficiently.
# Mid Content Lorem markdownum insigne... <--->
<!-- magic sparator, between columns -->
-# Right Content Lorem markdownum insigne...
+# Right Content Lorem markdownum insigne...
{{< /columns >}}
```