layouts: footer: add custom footer specialization
This was copy-pasted from the Anubis theme.
This commit is contained in:
parent
94f0f18f39
commit
83cace8807
14
layouts/partials/footer.html
Normal file
14
layouts/partials/footer.html
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
<footer class="common-footer">
|
||||||
|
{{ $languagesCount := $.Site.Home.AllTranslations }}
|
||||||
|
{{ if gt $languagesCount 1 }}
|
||||||
|
{{ partial "languageSelect.html" . }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
<div class="copyright">
|
||||||
|
<p>© {{ if isset .Site.Params "author"}}{{ .Site.Params.author }}, {{end}}{{ now.Year }}<br>
|
||||||
|
{{ i18n "powered" | humanize }} <a target="_blank" rel="noopener noreferrer" href="https://gohugo.io/">Hugo</a>, {{ i18n "theme" }} <a target="_blank" rel="noopener noreferrer" href="https://github.com/mitrichius/hugo-theme-anubis">Anubis</a>.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{{ partial "themeSwitcher.html" . }}
|
||||||
|
</footer>
|
Loading…
Reference in a new issue