Social link generator
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
0bdf22f2d1
commit
773ea029df
9
_includes/sociallinks.html
Normal file
9
_includes/sociallinks.html
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<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>
|
Loading…
Reference in New Issue
Block a user