Skip to content

Commit

Permalink
Add optional custom "title" for social links (#999)
Browse files Browse the repository at this point in the history

Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
  • Loading branch information
Netruk44 and adityatelange authored Aug 6, 2022
1 parent 30a2cc7 commit 42fa989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/social_icons.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="social-icons">
{{- range . }}
<a href="{{ trim .url " " }}" target="_blank" rel="noopener noreferrer me" title="{{ .name | title }}">
<a href="{{ trim .url " " }}" target="_blank" rel="noopener noreferrer me" title="{{ (.title | default .name) | title }}">
{{ partial "svg.html" . }}
</a>
{{- end }}
Expand Down

0 comments on commit 42fa989

Please sign in to comment.