Merge branch 'master' into master

This commit is contained in:
Thorsten 2020-07-30 21:50:34 +02:00 committed by GitHub
commit 6dce3ef5df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 15 deletions

View File

@ -3,21 +3,20 @@
{{ if gt $languagesCount 1 }} {{ if gt $languagesCount 1 }}
{{ partial "languageSelect.html" . }} {{ partial "languageSelect.html" . }}
{{ end }} {{ end }}
<div class="common-footer-bottom">
{{ if .Site.Menus.footer }} {{ if .Site.Menus.footer }}
{{ $currentPage := . }} {{ $currentPage := . }}
<ul class="footer-menu"> <ul class="footer-menu">
{{ range .Site.Menus.footer }} {{ 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> <li><a class="{{if or ($currentPage.IsMenuCurrent "footer" .) ($currentPage.HasMenuCurrent "footer" .) }} active{{end}}" href="{{ .URL | absLangURL }}" title="{{ .Title }}">{{ .Name }}</a></li>
{{ end }}
</ul>
{{ end }} {{ end }}
</ul> <div class="copyright">
{{ end }} <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>.
<div class="copyright"> </p>
<p>© {{ if isset .Site.Params "author"}}{{ .Site.Params.author }}, {{end}}{{ now.Year }}<br> </div>
{{ 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>
{{ 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;