0
mirror of https://github.com/valentineus/popov.link.git synced 2025-07-04 00:20:26 +03:00

Updated homepage

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2020-01-23 19:41:44 +04:00
parent b837e8c89e
commit 30c54ec5a3
7 changed files with 77 additions and 38 deletions

19
_includes/links.html Normal file
View File

@ -0,0 +1,19 @@
<h2>Related links</h2>
<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>
<span></span>
<span>{{ description }}</span>
</li>
{% endfor %}
</ul>
{% assign description = "" %}
{% assign title = "" %}
{% assign url = "" %}