<footer class="common-footer noselect"> {{ $languagesCount := $.Site.Home.AllTranslations }} {{ if gt $languagesCount 1 }} {{ partial "language-switcher.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> © {{ if isset .Site.Params "author"}}{{ .Site.Params.author }}, {{end}}{{ now.Year }} </div> <div> <!-- {{ i18n "powered" }} <a target="_blank" rel="noopener noreferrer" href="https://gohugo.io/">Hugo</a>, {{ i18n "theme" }} <a target="_blank" rel="noopener noreferrer" href="https://github.com/Junyi-99/hugo-theme-anubis2">Anubis2</a>.<br> --> {{ partial "footer-extra.html" . }} </div> </div> {{ partial "h-card.html" . }} </footer>