aboutsummaryrefslogtreecommitdiff
path: root/exampleSite/config.toml
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite/config.toml')
-rw-r--r--exampleSite/config.toml7
1 files changed, 7 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 025d382..7de852d 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -75,6 +75,13 @@ enableGitInfo = true
# Used for 'Last Modified' and 'Edit this page' links.
BookRepo = 'https://github.com/alex-shpak/hugo-book'
+ # (Optional, default 'commit') Specifies commit portion of the link to the page's last modified
+ # commit hash for 'doc' page type.
+ # Requires 'BookRepo' param.
+ # Value used to construct a URL consisting of BookRepo/BookCommitPath/<commit-hash>
+ # Github uses 'commit', Bitbucket uses 'commits'
+ # BookCommitPath = 'commit'
+
# Enable "Edit this page" links for 'doc' page type.
# Disabled by default. Uncomment to enable. Requires 'BookRepo' param.
# Edit path must point to root directory of repo.