27
0
Fork 1
forked from mirror/Mainroad

extend footer with commit and ref

This commit is contained in:
dark_hash 2025-02-03 23:00:06 +01:00 committed by Xiretza
parent f8943403ec
commit 7f44ee734f

View file

@ -4,5 +4,10 @@
<div class="footer__copyright">
&copy; {{ 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>