Skip to content

Commit fe9da53

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

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)