Handling multilingual mode on extra menu shortcuts

This commit is contained in:
matcornic 2017-08-20 17:08:37 +02:00
parent 6b265c5181
commit a64a454421

View file

@ -32,7 +32,7 @@
<ul>
{{ range sort . "Weight"}}
<li class="" role="">
{{.Pre}}<a class="padding" href="{{.URL}}">{{safeHTML .Name}}</a>{{.Post}}
{{.Pre}}<a class="padding" href="{{.URL | absLangURL }}">{{safeHTML .Name}}</a>{{.Post}}
</li>
{{end}}
</ul>
@ -43,7 +43,7 @@
<section id="prefooter">
<hr/>
<ul>
{{ if .Site.IsMultiLingual }}
{{ if and .Site.IsMultiLingual (not .Site.Params.DisableLanguageSwitchingButton)}}
<li>
<a class="padding">
<i class="fa fa-fw fa-language"></i>