PaperModX/layouts/partials/social_icons.html

9 lines
317 B
HTML
Raw Normal View History

<div class="social-icons">
{{- range .icons }}
<a href="{{ trim .url " " }}" target="_blank" rel="noopener noreferrer me" title="{{ .name | title }}">
{{- $icon_name := ( trim .name " " | lower )}}
{{ safeHTML (index $.svg $icon_name | default $.svg.default) }}
2021-03-30 13:37:36 +01:00
</a>
{{- end }}
</div>