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

Deleted variable declaration

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2020-01-23 20:08:52 +04:00
parent 8184c94034
commit 28aec1dfdd
6 changed files with 16 additions and 50 deletions

View File

@ -3,16 +3,8 @@
<ul>
{% for post in site.posts %}
<li>
{% assign date = post.date | date: '%d-%m-%Y' | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape %}
{% assign title = post.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape %}
{% assign url = post.url | relative_url | uri_escape %}
<a href="{{ url }}">{{ title }}</a>
(<time datetime="{{ post.date | date_to_xmlschema }}">{{ date }}</time>)
<a href="{{ post.url | relative_url | uri_escape }}">{{ post.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</a>
(<time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: '%d-%m-%Y' | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</time>)
</li>
{% endfor %}
</ul>
{% assign date = "" %}
{% assign title = "" %}
{% assign url = "" %}