hugo-WonderMod/layouts/partials/social_icons.html
Netruk44 42fa989316
Add optional custom "title" for social links (#999)
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2022-08-06 12:09:58 +05:30

8 lines
239 B
HTML

<div class="social-icons">
{{- range . }}
<a href="{{ trim .url " " }}" target="_blank" rel="noopener noreferrer me" title="{{ (.title | default .name) | title }}">
{{ partial "svg.html" . }}
</a>
{{- end }}
</div>