footer.html 572 B

123456789101112131415
  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. {{ i18n "powered_by" }} <a href="https://gohugo.io/">Hugo</a> & <a href="https://github.com/luizdepra/hugo-coder/">Coder</a>.
  11. {{ if (and .Site.Params.commit .GitInfo) }}
  12. [<a href="{{ .Site.Params.commit }}/{{ .GitInfo.Hash }}">{{ .GitInfo.AbbreviatedHash }}</a>]
  13. {{ end }}
  14. </section>
  15. </footer>