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

Simplified data generation code

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2020-01-23 20:21:21 +04:00
parent 28aec1dfdd
commit 11c402a293
7 changed files with 17 additions and 17 deletions

View File

@ -3,9 +3,9 @@
<ul>
{% for link in site.data.links %}
<li>
<a href="{{ link.url | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}" target="_blank">{{ link.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</a>
<a href="{{ link.url | relative_url | uri_escape }}" target="_blank">{{ link.title | strip | normalize_whitespace | xml_escape }}</a>
<span></span>
<span>{{ link.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</span>
<span>{{ link.description | strip | normalize_whitespace | xml_escape }}</span>
</li>
{% endfor %}
</ul>