mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-22 02:21:37 +01:00
language-switch: rm humanize on 'displayFullLangName'
- displays weird text :/
This commit is contained in:
parent
e7e5e8ce6d
commit
ad11fe16ed
@ -93,7 +93,7 @@
|
|||||||
<a href="{{- .Permalink -}}" title="{{ .Language.LanguageName | default .Lang | humanize }}"
|
<a href="{{- .Permalink -}}" title="{{ .Language.LanguageName | default .Lang | humanize }}"
|
||||||
aria-label="{{ .Language.LanguageName | default .Lang | humanize }}">
|
aria-label="{{ .Language.LanguageName | default .Lang | humanize }}">
|
||||||
{{- if (and $.Site.Params.displayFullLangName (.Language.LanguageName)) }}
|
{{- if (and $.Site.Params.displayFullLangName (.Language.LanguageName)) }}
|
||||||
{{- .Language.LanguageName | emojify | humanize -}}
|
{{- .Language.LanguageName | emojify -}}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- .Lang | humanize -}}
|
{{- .Lang | humanize -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
Loading…
Reference in New Issue
Block a user