Added: Sponsor Logos && Fixed: Language Switch

This commit is contained in:
TheJoKlLa 2020-09-25 23:47:43 +02:00
parent b77215813a
commit d9f52d142b
6 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,7 @@
{{ if .Site.Home.AllTranslations}} {{ if .Site.Home.AllTranslations}}
<ul class="lang"> <ul class="lang">
{{ range $.Site.Home.AllTranslations }} {{ range $.Site.Home.AllTranslations }}
<li><a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a></li> <li><a href="{{ replace $.Page.URL $.Page.Language.Lang .Language.Lang}}">{{ .Language.LanguageName }}</a></li>
{{ end }} {{ end }}
</ul> </ul>
{{ end }} {{ end }}
@ -13,6 +13,8 @@
{{ if .Params.sponsor }} {{ if .Params.sponsor }}
<img class="sponsor" src="{{ .Params.sponsor }}"/> <img class="sponsor" src="{{ .Params.sponsor }}"/>
{{else}}
<img class="sponsor" src="/img/sponsors/FabInfra.png"/>
{{ end }} {{ end }}
</footer> </footer>
</body> </body>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB