Deleted variable declaration

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov committed 2020-01-23 20:12:44 +04:00
1 parent 8184c94034
commit 28aec1dfdd
6 files changed
+16 -50

No files matched your search

+2 -10
View File
@@ -3,17 +3,9 @@
<ul>
{% for link in site.data.links %}
<li>
{% assign description = link.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape %}
{% assign title = link.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape %}
{% assign url = link.url | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape %}
<a href="{{ url }}" target="_blank">{{ title }}</a>
<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>
<span>—</span>
<span>{{ description }}</span>
<span>{{ link.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</span>
</li>
{% endfor %}
</ul>
{% assign description = "" %}
{% assign title = "" %}
{% assign url = "" %}