docs: Link latest change as commit in the footer

This commit is contained in:
digitalcraftsman 2016-11-04 17:28:27 +01:00 committed by digitalcraftsman
parent 774f13bd5d
commit ec44ad5c0b
1 changed files with 1 additions and 1 deletions

View 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>