popov.link/_includes/sociallinks.html
Valentin Popov 773ea029df
Social link generator
Signed-off-by: Valentin Popov <info@valentineus.link>
2018-04-23 00:24:30 +04:00

10 lines
387 B
HTML

<p class="social-links">
{% for item in site.social_links %}
<a href="{{ item[1] | strip_newlines | strip_html | strip | normalize_whitespace | uri_escape }}">
{{ item[0] | strip_newlines | strip_html | strip | normalize_whitespace | smartify | downcase | capitalize }}
</a>
<!-- Separation trait -->
{% unless forloop.last %}|{% endunless %}
{% endfor %}
</p>