hugo-theme-introduction/layouts/partials/home/social.html
Sascha Mann 7584ca2c4f
Add HTML attributes to social links
* Insert arbitrary HTML attributes to social links via config.toml

(fixes #121)
2019-01-13 22:52:57 +01:00

7 lines
211 B
HTML

<div class="social-icons">
{{ range .Site.Params.social }}
<a href="{{ .url }}" {{ .html_attributes | safeHTMLAttr }}>
<i class="{{ .icon_pack}} fa-{{ .icon}}"></i>
</a>
{{ end }}
</div>