forked from mirror/Mainroad
extend footer with commit and ref
This commit is contained in:
parent
f8943403ec
commit
7f44ee734f
1 changed files with 5 additions and 0 deletions
|
@ -4,5 +4,10 @@
|
|||
<div class="footer__copyright">
|
||||
© {{ now.Format "2006" }} {{ .Site.Params.copyright | default .Site.Title }}.
|
||||
</div>
|
||||
{{ if site.Params.show_version -}}
|
||||
<div class="footer__version">
|
||||
ref: {{ site.Params.tag }} • commit: <a href="https://git.it-syndikat.org/IT-Syndikat/website/commit/{{ site.Params.commit }}" target="_blank">{{ strings.Substr site.Params.commit 0 10 }}</a>
|
||||
</div>
|
||||
{{ end -}}
|
||||
</div>
|
||||
</footer>
|
Loading…
Add table
Reference in a new issue