mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-21 18:11: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 }}"
|
||||
aria-label="{{ .Language.LanguageName | default .Lang | humanize }}">
|
||||
{{- if (and $.Site.Params.displayFullLangName (.Language.LanguageName)) }}
|
||||
{{- .Language.LanguageName | emojify | humanize -}}
|
||||
{{- .Language.LanguageName | emojify -}}
|
||||
{{- else }}
|
||||
{{- .Lang | humanize -}}
|
||||
{{- end -}}
|
||||
|
Loading…
Reference in New Issue
Block a user