Initial Commit
This commit is contained in:
18
themes/hugo-coder/layouts/partials/footer.html
Normal file
18
themes/hugo-coder/layouts/partials/footer.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<footer class="footer">
|
||||
<section class="container">
|
||||
{{ if (and .Site.Params.since (lt .Site.Params.since now.Year)) }}
|
||||
{{ .Site.Params.since }} -
|
||||
{{ end }}
|
||||
©{{now.Year }}
|
||||
{{ with .Site.Params.copyright }} {{ . }} {{ end }}
|
||||
·
|
||||
{{ if (and .Site.Params.license) }}
|
||||
{{ i18n "licensed_under" }} {{ .Site.Params.license | safeHTML }}
|
||||
·
|
||||
{{ end }}
|
||||
{{ i18n "powered_by" }} <a href="https://gohugo.io/">Hugo</a> & <a href="https://github.com/luizdepra/hugo-coder/">Coder</a>.
|
||||
{{ if (and .Site.Params.commit .GitInfo) }}
|
||||
[<a href="{{ .Site.Params.commit }}/{{ .GitInfo.Hash }}">{{ .GitInfo.AbbreviatedHash }}</a>]
|
||||
{{ end }}
|
||||
</section>
|
||||
</footer>
|
||||
Reference in New Issue
Block a user