Skip to content

Commit 42fa989

Browse files
Add optional custom "title" for social links (#999)
Co-authored-by: Aditya Telange <[email protected]>
1 parent 30a2cc7 commit 42fa989

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/partials/social_icons.html

+1-1
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)