social-icons: refactor

* use easier impl
This commit is contained in:
Aditya Telange committed 2020-10-02 13:46:49 +05:30
1 parent 8ff1f10eb7
commit 6dcd437146
3 files changed
+11 -15

No files matched your search

+6 -4
View File
@@ -1,4 +1,6 @@
{{- range . -}}
<a href="{{ .url }}" target="_blank" rel="noopener noreferrer"
title="{{ .name | humanize }}">{{ partial "svg.html" . }}</a>
{{- end -}}
<div class="social-icons">
{{- range . -}}
<a href="{{ .url }}" target="_blank" rel="noopener noreferrer"
title="{{ .name | humanize }}">{{ partial "svg.html" . }}</a>
{{- end -}}
</div>