popov.link/_includes/links.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
364 B
HTML

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