Skip to content

Commit 42fa989

Browse files
Add optional custom "title" for social links (#999)
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
1 parent 30a2cc7 commit 42fa989

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

layouts/partials/social_icons.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="social-icons">
22
{{- range . }}
3-
<a href="{{ trim .url " " }}" target="_blank" rel="noopener noreferrer me" title="{{ .name | title }}">
3+
<a href="{{ trim .url " " }}" target="_blank" rel="noopener noreferrer me" title="{{ (.title | default .name) | title }}">
44
{{ partial "svg.html" . }}
55
</a>
66
{{- end }}

0 commit comments

Comments
 (0)