Fix footer for multilingual site

This commit is contained in:
Dmitry Kolosov 2020-07-30 21:35:13 +03:00
parent fe617fe6f9
commit a9927e6536
2 changed files with 10 additions and 5 deletions

View File

@ -4,11 +4,13 @@
{{ 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>
<div class="common-footer-bottom">
<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>
</div>
{{ partial "themeSwitcher.html" . }}
</footer>

View File

@ -416,6 +416,9 @@ article figcaption {
padding-top: 1.5em;
margin-top: 3em;
font-size: 16px;
}
.common-footer-bottom {
display: flex;
flex-wrap: wrap;
align-items: center;