aboutsummaryrefslogtreecommitdiff
path: root/_includes/links.html
diff options
context:
space:
mode:
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 = "" %}