aboutsummaryrefslogtreecommitdiff
path: root/_includes/links.html
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-01-23 19:08:52 +0300
committerValentin Popov <info@valentineus.link>2020-01-23 19:12:44 +0300
commit28aec1dfdd90b7ffdd11321895ac37c0c2ab6fc6 (patch)
tree827c4f21448446777e651e05582222fcd4379894 /_includes/links.html
parent8184c9403408ec66c19cdee80d55d9db7ecf87c7 (diff)
downloadpopov.link-28aec1dfdd90b7ffdd11321895ac37c0c2ab6fc6.tar.xz
popov.link-28aec1dfdd90b7ffdd11321895ac37c0c2ab6fc6.zip
Deleted variable declaration
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_includes/links.html')
-rw-r--r--_includes/links.html12
1 files changed, 2 insertions, 10 deletions
diff --git a/_includes/links.html b/_includes/links.html
index d301161..e7a2801 100644
--- a/_includes/links.html
+++ b/_includes/links.html
@@ -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 = "" %}