footer.html (798B)
1 <footer class="footer"> 2 <section class="container"> 3 © 4 {{ if (and .Site.Params.since (lt .Site.Params.since now.Year)) }} 5 {{ .Site.Params.since }} - 6 {{ end }} 7 {{ now.Year }} 8 {{ with .Site.Params.author }} {{ . }} {{ end }} 9 · 10 {{ if (and .Site.Params.license) }} 11 {{ i18n "licensed_under" }} {{ .Site.Params.license | safeHTML }} 12 · 13 {{ end }} 14 {{ i18n "powered_by" }} <a href="https://gohugo.io/" target="_blank" rel="noopener">Hugo</a> & <a href="https://github.com/luizdepra/hugo-coder/" target="_blank" rel="noopener">Coder</a>. 15 {{ if (and .Site.Params.commit .GitInfo) }} 16 [<a href="{{ .Site.Params.commit }}/{{ .GitInfo.Hash }}" target="_blank" rel="noopener">{{ .GitInfo.AbbreviatedHash }}</a>] 17 {{ end }} 18 </section> 19 </footer>