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>
|
<ul>
|
||||||
{{ range sort . "Weight"}}
|
{{ range sort . "Weight"}}
|
||||||
<li class="" role="">
|
<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>
|
</li>
|
||||||
{{end}}
|
{{end}}
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
<section id="prefooter">
|
<section id="prefooter">
|
||||||
<hr/>
|
<hr/>
|
||||||
<ul>
|
<ul>
|
||||||
{{ if .Site.IsMultiLingual }}
|
{{ if and .Site.IsMultiLingual (not .Site.Params.DisableLanguageSwitchingButton)}}
|
||||||
<li>
|
<li>
|
||||||
<a class="padding">
|
<a class="padding">
|
||||||
<i class="fa fa-fw fa-language"></i>
|
<i class="fa fa-fw fa-language"></i>
|
||||||
|
|
Loading…
Reference in a new issue