diff options
-rw-r--r-- | layouts/partials/footer.html | 29 | ||||
m--------- | themes/anubis | 0 |
2 files changed, 29 insertions, 0 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..5db94ac --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,29 @@ +<footer class="common-footer"> + {{ $languagesCount := $.Site.Home.AllTranslations }} + {{ if gt $languagesCount 1 }} + {{ partial "languageSelect.html" . }} + {{ end }} + + <div class="common-footer-bottom"> + {{ if .Site.Menus.footer }} + {{ $currentPage := . }} + <ul class="footer-menu"> + {{ range .Site.Menus.footer }} + <li><a class="{{if or ($currentPage.IsMenuCurrent "footer" .) ($currentPage.HasMenuCurrent "footer" .) }} active{{end}}" href="{{ .URL | absLangURL }}" title="{{ .Title }}">{{ .Name }}</a></li> + {{ end }} + </ul> + {{ 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>.<br> + {{ partial "copyright.html" . }} + </p> + </div> + <div> + {{ partial "themeSwitcher.html" . }} + {{ partial "footer-extra.html" . }} + </div> + </div> + + {{ partial "h-card.html" . }} +</footer> diff --git a/themes/anubis b/themes/anubis -Subproject b6f39d69588b32c9f27d3459732171250904724 +Subproject dc52fdf1b007abb84695f533024bcf15b04ca4b |