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:
@ -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>
|
||||
|
Reference in New Issue
Block a user