Use title instead of humanize

- https://gohugo.io/functions/title/
This commit is contained in:
Aditya Telange 2021-05-01 22:13:54 +05:30
parent 167ca42ce3
commit 0e3f44ff17
No known key found for this signature in database
GPG key ID: 82E844EF3DA99E77
5 changed files with 9 additions and 9 deletions

View file

@ -10,7 +10,7 @@
{{- if (and $.Site.Params.displayFullLangName (.Language.LanguageName)) }}
{{- .Language.LanguageName | emojify -}}
{{- else }}
{{- .Lang | humanize -}}
{{- .Lang | title -}}
{{- end -}}
</a>
</li>