hugo-coder-fork/layouts/partials/footer.html

17 lines
721 B
HTML
Raw Normal View History

2018-03-01 01:38:59 +00:00
<footer class="footer">
<section class="container">
{{ 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 }}
Powered by <a href="https://gohugo.io/">Hugo</a> & <a href="https://github.com/luizdepra/hugo-coder/">Coder</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 }}
2018-03-01 01:38:59 +00:00
</section>
</footer>