language-switch: rm humanize on 'displayFullLangName'

- displays weird text :/
This commit is contained in:
Aditya Telange 2020-11-28 23:04:10 +05:30
parent e7e5e8ce6d
commit ad11fe16ed
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
1 changed files with 1 additions and 1 deletions

View File

@ -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 -}}