mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
docs: Link latest change as commit in the footer
This commit is contained in:
committed by
digitalcraftsman
parent
774f13bd5d
commit
ec44ad5c0b
@@ -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>
|
||||
|
Reference in New Issue
Block a user