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" . }} {{ partial "languageSelect.html" . }}
{{ end }} {{ end }}
<div class="copyright"> <div class="common-footer-bottom">
<p>© {{ if isset .Site.Params "author"}}{{ .Site.Params.author }}, {{end}}{{ now.Year }}<br> <div class="copyright">
{{ 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>© {{ if isset .Site.Params "author"}}{{ .Site.Params.author }}, {{end}}{{ now.Year }}<br>
</p> {{ 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>.
</div> </p>
</div>
</div>
{{ partial "themeSwitcher.html" . }} {{ partial "themeSwitcher.html" . }}
</footer> </footer>

View File

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