language-switch: enable emojify
- languageName: ":country_emoji:" can now be displayed as emoji
This commit is contained in:
parent
b5d55aee8d
commit
b7169d2259
|
@ -16,7 +16,7 @@
|
|||
<li>
|
||||
<a href="{{ .Permalink }}">
|
||||
{{- if (and $.Site.Params.displayFullLangName (.Language.LanguageName)) }}
|
||||
{{- .Language.LanguageName | humanize -}}
|
||||
{{- .Language.LanguageName | emojify | humanize -}}
|
||||
{{- else }}
|
||||
{{- .Lang | humanize -}}
|
||||
{{- end -}}
|
||||
|
|
|
@ -87,7 +87,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 | humanize -}}
|
||||
{{- .Language.LanguageName | emojify | humanize -}}
|
||||
{{- else }}
|
||||
{{- .Lang | humanize -}}
|
||||
{{- end -}}
|
||||
|
|
Loading…
Reference in New Issue