aboutsummaryrefslogtreecommitdiff
path: root/_includes/links.html
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-01-23 19:21:21 +0300
committerValentin Popov <info@valentineus.link>2020-01-23 19:23:28 +0300
commit11c402a2938935111fc6c82f53b720eb71e355c7 (patch)
tree5be50a926a746832df84e7a4abd04eb967f0bb79 /_includes/links.html
parent28aec1dfdd90b7ffdd11321895ac37c0c2ab6fc6 (diff)
downloadpopov.link-11c402a2938935111fc6c82f53b720eb71e355c7.tar.xz
popov.link-11c402a2938935111fc6c82f53b720eb71e355c7.zip
Simplified data generation code
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_includes/links.html')
-rw-r--r--_includes/links.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/_includes/links.html b/_includes/links.html
index e7a2801..8d40d6d 100644
--- a/_includes/links.html
+++ b/_includes/links.html
@@ -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>