Add Git info to per-page template (#9309)
* Add per-page Git commit info * Try moving the buttons down below the page TOC * Add page history to page footer
This commit is contained in:
committed by
k8s-ci-robot
parent
48897cc47d
commit
1b914f4ac7
+4
-1
@@ -19,6 +19,9 @@ pygmentsUseClasses = false
|
||||
# See https://help.farbox.com/pygments.html
|
||||
pygmentsStyle = "emacs"
|
||||
|
||||
# Enable Git variables like commit, lastmod
|
||||
enableGitInfo = true
|
||||
|
||||
[blackfriday]
|
||||
hrefTargetBlank = true
|
||||
fractions = false
|
||||
@@ -27,7 +30,7 @@ fractions = false
|
||||
date = ["date", ":filename", "publishDate", "lastmod"]
|
||||
|
||||
[permalinks]
|
||||
blog = "/:section/:year/:month/:day/:slug/"
|
||||
blog = "/:section/:year/:month/:day/:slug/"
|
||||
|
||||
# Be explicit about the output formats. We (currently) only want an RSS feed for the home page.
|
||||
[outputs]
|
||||
|
||||
Reference in New Issue
Block a user