Use title instead of humanize

- https://gohugo.io/functions/title/
This commit is contained in:
Aditya Telange committed 2021-05-01 22:13:54 +05:30
1 parent 167ca42ce3
commit 0e3f44ff17
5 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
<div class="social-icons">
{{- range . }}
<a href="{{ trim .url " " }}" target="_blank" rel="noopener noreferrer me" title="{{ .name | humanize }}">
<a href="{{ trim .url " " }}" target="_blank" rel="noopener noreferrer me" title="{{ .name | title }}">
{{ partial "svg.html" . }}
</a>
{{- end }}