mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
Handling multilingual mode on extra menu shortcuts
This commit is contained in:
parent
6b265c5181
commit
a64a454421
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue