summaryrefslogtreecommitdiff
path: root/exampleSite/config.yml
diff options
context:
space:
mode:
authorNick Shine <shine.nick@gmail.com>2018-12-14 21:53:50 -0600
committerAlexander Shpak <alex-shpak@users.noreply.github.com>2018-12-20 21:07:15 +0100
commit74f9dbf0cdbc194beb947266a305b1861b771a10 (patch)
tree6b3d717ea849cbdda184de11ac39be2dbd6e36d7 /exampleSite/config.yml
parent5c6070a4235717d75a065f04327e81a946eaf3b2 (diff)
add last-modified date
Last modified date links to latest commit for the active page of 'doc' type. Disabled by default keep with the minimalist theme.
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