0
mirror of https://github.com/valentineus/popov.link.git synced 2025-07-04 00:20:26 +03:00

Collection with additional links

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2018-04-24 20:00:04 +04:00
parent e0bfa7a3b0
commit ebceb1c3de
4 changed files with 21 additions and 11 deletions

View File

@ -0,0 +1,11 @@
<p class="social-links">
{% for link in site.data.additional_links %}
<a href="{{ link.url | strip_newlines | strip_html | strip | normalize_whitespace | uri_escape }}">
{{ link.name | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}
</a>
<!-- Separation trait -->
{% unless forloop.last %}
<span>|</span>
{% endunless %}
{% endfor %}
</p>