culinary.kemonine.info/themes/gochowdown/layouts/partials/footer.html

15 lines
673 B
HTML
Raw Permalink Normal View History

2022-12-03 15:27:03 +00:00
<footer class="footer">
{{ with .Site.Params.footercontent }}
<p>{{.}}</p>
{{ end }}
{{ if not .Site.Params.hideCopyright }} © {{ now.Format "2006" }}{{ end }}
{{ if not .Site.Params.hideCredits }}
{{ if not .Site.Params.hideCopyright }} · {{ end }}
{{ i18n "powered-by" }} <a href="https://gohugo.io/">Hugo</a> &amp; <a href="https://github.com/seanlane/gochowdown">GoChowdown</a>
{{ end }}
{{ if .Site.Params.commit }}
{{ if or (not .Site.Params.hideCredits) (not .Site.Params.hideCopyright) }} · {{ end }}
[<a href="{{ .Site.Params.commit }}{{ getenv "GIT_COMMIT_SHA" }}">{{ getenv "GIT_COMMIT_SHA_SHORT" }}</a>]
{{ end }}
</footer>