summaryrefslogtreecommitdiff
path: root/exampleSite/config.yaml
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2020-04-11 14:35:29 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2020-04-11 14:35:29 +0200
commit15339ab6a6f39729bd1be500e7fc32b89eb37b55 (patch)
treee8ee3baf8b95ebd4cea6de346f91bf3f1544dbac /exampleSite/config.yaml
parent8927a3c672a6e7a40519626b7df31d7dace800a9 (diff)
#157, Refactor side menu, simpler and renders all pages at root
Diffstat (limited to 'exampleSite/config.yaml')
-rw-r--r--exampleSite/config.yaml7
1 files changed, 4 insertions, 3 deletions
diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml
index f7f3bc2..6a26b13 100644
--- a/exampleSite/config.yaml
+++ b/exampleSite/config.yaml
@@ -58,8 +58,9 @@ params:
# When not specified file structure and weights will be used
# BookMenuBundle: /menu
- # (Optional, default docs) Specify section of content to render as menu
- # You can also set value to '*' to render all sections to menu
+ # (Optional, default docs) Specify root page to render child pages as menu.
+ # Page is resoled by .GetPage function: https://gohugo.io/functions/getpage/
+ # For backward compatibility you can set '*' to render all sections to menu. Acts same as '/'
BookSection: docs
# Set source repository location.
@@ -74,7 +75,7 @@ params:
# Configure the date format used on the pages
# - In git information
# - In blog posts
- BookDateFormat: "Jan 2, 2006"
+ BookDateFormat: "January 2, 2006"
# (Optional, default true) Enables search function with flexsearch,
# Index is built on fly, therefore it might slowdown your website.