mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 16:54:49 +08:00
Handling multilingual mode on extra menu shortcuts
This commit is contained in:
parent
6b265c5181
commit
a64a454421
@ -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…
x
Reference in New Issue
Block a user