aboutsummaryrefslogtreecommitdiff
path: root/_includes/contacts.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/contacts.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/contacts.html')
-rw-r--r--_includes/contacts.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/_includes/contacts.html b/_includes/contacts.html
index 1389c30..6a9cef4 100644
--- a/_includes/contacts.html
+++ b/_includes/contacts.html
@@ -3,9 +3,9 @@
<ul>
{% for contact in site.data.contacts %}
<li>
- <a href="{{ contact.url | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}" target="_blank">{{ contact.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</a>
+ <a href="{{ contact.url | relative_url | uri_escape }}" target="_blank">{{ contact.title | strip | normalize_whitespace | xml_escape }}</a>
<span>—</span>
- <span>{{ contact.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</span>
+ <span>{{ contact.description | strip | normalize_whitespace | xml_escape }}</span>
</li>
{% endfor %}
</ul>