mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-10-01 01:06:14 -04:00
language-switch: humanize only Lang code
- displays weird text :/
- amend to ad11fe1
This commit is contained in:
parent
d74ad93c18
commit
b7f5dd10f1
@ -90,8 +90,8 @@
|
||||
{{- range . -}}
|
||||
{{- if ne $lang .Lang }}
|
||||
<li>
|
||||
<a href="{{- .Permalink -}}" title="{{ .Language.LanguageName | default .Lang | humanize }}"
|
||||
aria-label="{{ .Language.LanguageName | default .Lang | humanize }}">
|
||||
<a href="{{- .Permalink -}}" title="{{ .Language.LanguageName | default (.Lang | humanize) }}"
|
||||
aria-label="{{ .Language.LanguageName | default (.Lang | humanize) }}">
|
||||
{{- if (and $.Site.Params.displayFullLangName (.Language.LanguageName)) }}
|
||||
{{- .Language.LanguageName | emojify -}}
|
||||
{{- else }}
|
||||
|
Loading…
Reference in New Issue
Block a user