summaryrefslogtreecommitdiff
path: root/exampleSite/config.yml
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite/config.yml')
-rw-r--r--exampleSite/config.yml11
1 files changed, 8 insertions, 3 deletions
diff --git a/exampleSite/config.yml b/exampleSite/config.yml
index 4a81e1f..c2a50a6 100644
--- a/exampleSite/config.yml
+++ b/exampleSite/config.yml
@@ -7,6 +7,7 @@ theme: hugo-book
# Book configuration
disablePathToLower: true
+enableGitInfo: false
params:
# show or hide table of contents for page
@@ -14,12 +15,16 @@ params:
# Set bundle to render side menu
# if not specified file structure and weights will be used
- BookMenuBundle: /menu
+ BookMenuBundle: /menu
# specify section of content to render as menu
# if bookMenuBundle is not set, 'docs' is value by default
BookSection: docs
+ # Set source repository location.
+ # Used for 'Last Modified' and 'Edit this page' links.
+ BookRepo: https://github.com/alex-shpak/hugo-book
+
# Enable "Edit this page" links for 'doc' page type.
- # Disabled by default. Uncomment to enable.
- # BookEditURL: https://github.com/alex-shpak/hugo-book/edit/master/exampleSite/content/
+ # Disabled by default. Uncomment to enable. Requires 'BookRepo' param.
+ # BookEditPath: edit/master/exampleSite/content