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:
Misty Linville
2018-07-02 16:17:19 -07:00
committed by k8s-ci-robot
parent 48897cc47d
commit 1b914f4ac7
4 changed files with 47 additions and 25 deletions
+4 -1
View File
@@ -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]