docs: Link latest change as commit in the footer
authordigitalcraftsman <digitalcraftsman@protonmail.com>
Fri, 4 Nov 2016 16:28:27 +0000 (17:28 +0100)
committerdigitalcraftsman <digitalcraftsman@users.noreply.github.com>
Fri, 4 Nov 2016 18:12:17 +0000 (19:12 +0100)
docs/layouts/partials/footer.html

index 2d0dbe0e8d7e88e0e1f45a65607caa96e5adfdda..92a7912e7d3bad2704337f72c41cdd8ec4c91b63 100644 (file)
@@ -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>