From: digitalcraftsman <digitalcraftsman@protonmail.com> Date: Fri, 4 Nov 2016 16:28:27 +0000 (+0100) Subject: docs: Link latest change as commit in the footer X-Git-Tag: v0.18~144 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ec44ad5c;p=brevno-suite%2Fhugo docs: Link latest change as commit in the footer --- diff --git a/docs/layouts/partials/footer.html b/docs/layouts/partials/footer.html index 2d0dbe0e..92a7912e 100644 --- a/docs/layouts/partials/footer.html +++ b/docs/layouts/partials/footer.html @@ -1,6 +1,6 @@ <div class="row"> <div class="footer-panel"> - <p>Last revision: {{ .Lastmod.Format "January 2, 2006" }}{{ if .IsPage }}<em>{{ with .GitInfo }}| {{ .Subject }} | {{ .AbbreviatedHash }}{{end }}</em>{{ end }} + <p>Last revision: {{ .Lastmod.Format "January 2, 2006" }}{{ if .IsPage }}{{ with .GitInfo }} | <a href="https://github.com/spf13/hugo/commit/{{ .Hash }}">{{ .Subject }} ({{ .AbbreviatedHash }})</a>{{end }}{{ end }} <span style="float: right;">Hugo v{{ .Hugo.Version }} documentation</span> </p> </div>