binario/layouts/partials/footer_social.html

11 lines
390 B
HTML
Raw Permalink Normal View History

{{- if .Site.Params.social }}
<div class="footer__social social">
{{- range sort .Site.Data.social.icons "weight" }}
{{- if isset $.Site.Params.Social .id }}
<a class="social__link" target="_blank" rel="noopener noreferrer" href="{{ printf .url (index $.Site.Params.Social .id) }}">
{{ partial .icon (dict "class" "social__icon") }}
2018-05-28 06:33:36 +00:00
</a>
{{- end }}
2018-05-28 06:33:36 +00:00
{{- end }}
</div>
{{- end }}