popov.link/_includes/contacts.html
Valentin Popov 11c402a293
Simplified data generation code
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-01-23 20:23:28 +04:00

12 lines
374 B
HTML

<h2>Contacts</h2>
<ul>
{% for contact in site.data.contacts %}
<li>
<a href="{{ contact.url | relative_url | uri_escape }}" target="_blank">{{ contact.title | strip | normalize_whitespace | xml_escape }}</a>
<span></span>
<span>{{ contact.description | strip | normalize_whitespace | xml_escape }}</span>
</li>
{% endfor %}
</ul>