summaryrefslogtreecommitdiff
path: root/layouts/partials/index_profile.html
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2021-05-01 22:13:54 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2021-05-01 22:13:54 +0530
commit0e3f44ff17f4e82dfec4157ce5c9c672a1282e9e (patch)
tree86379fe8f0f1a1e9a682144467785d2d76eb21b3 /layouts/partials/index_profile.html
parent167ca42ce39e113e0e61e5c0ca6534123878abd0 (diff)
Use `title` instead of `humanize`
- https://gohugo.io/functions/title/
Diffstat (limited to 'layouts/partials/index_profile.html')
-rw-r--r--layouts/partials/index_profile.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/index_profile.html b/layouts/partials/index_profile.html
index 478f372..b7753f9 100644
--- a/layouts/partials/index_profile.html
+++ b/layouts/partials/index_profile.html
@@ -12,8 +12,8 @@
{{- with .buttons }}
<div class="buttons">
{{- range . }}
- <a class="button" href="{{ trim .url " " }}" rel="noopener" title="{{ .name | humanize }}">
- <span class="button-inner">{{ .name }}</span>
+ <a class="button" href="{{ trim .url " " }}" rel="noopener" title="{{ .name | title }}">
+ <span class="button-inner">{{ .name | title }}</span>
</a>
{{- end }}
</div>