Fixed a visual time for list posts

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2019-05-03 16:36:26 +04:00
parent 44f10af006
commit 6d2efada81
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3

View File

@ -1,18 +1,16 @@
---
permalink: "index.html"
layout: page
permalink: "index.html"
---
{% for post in site.posts %}
<section>
<h4>
<small>
<span>
<time datetime="{{ post.date | date_to_xmlschema }}">
{{ post.date | date: '%Y-%m-%d' | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
</time>
</small>
<a href="{{ post.url | relative_url | uri_escape }}">
</span> | <a href="{{ post.url | relative_url | uri_escape }}">
{{ post.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
</a>
</h4>