aboutsummaryrefslogtreecommitdiff
path: root/_includes/links.html
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-02-14 10:38:24 +0300
committerValentin Popov <valentin@popov.link>2024-02-14 10:38:24 +0300
commita3a95d7a9b020f9aeb66e17cab16e957f5a7cb5e (patch)
treed7ce3ba4bb4f30f6d592cf12e33b6a6331d843d2 /_includes/links.html
parent2db390219832103ecbece1188c1964a4539e9020 (diff)
downloadpopov.link-a3a95d7a9b020f9aeb66e17cab16e957f5a7cb5e.tar.xz
popov.link-a3a95d7a9b020f9aeb66e17cab16e957f5a7cb5e.zip
Added space management
Diffstat (limited to '_includes/links.html')
-rw-r--r--_includes/links.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/_includes/links.html b/_includes/links.html
index 8d40d6d..116ff91 100644
--- a/_includes/links.html
+++ b/_includes/links.html
@@ -1,11 +1,11 @@
<h2>Related links</h2>
<ul>
- {% for link in site.data.links %}
+ {%- for link in site.data.links -%}
<li>
- <a href="{{ link.url | relative_url | uri_escape }}" target="_blank">{{ link.title | strip | normalize_whitespace | 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 | normalize_whitespace | xml_escape }}</span>
+ <span>{{- link.description | strip | normalize_whitespace | xml_escape -}}</span>
</li>
- {% endfor %}
+ {%- endfor -%}
</ul>