diff --git a/config.toml b/config.toml index 55f1527bf9..7390205f49 100644 --- a/config.toml +++ b/config.toml @@ -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] diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html index 829457a79c..43483af580 100644 --- a/layouts/docs/baseof.html +++ b/layouts/docs/baseof.html @@ -16,29 +16,38 @@ {{ block "side-menu" . }}
{{ end }}