aboutsummaryrefslogtreecommitdiff
path: root/_includes/posts.html
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-01-23 19:21:21 +0300
committerValentin Popov <info@valentineus.link>2020-01-23 19:23:28 +0300
commit11c402a2938935111fc6c82f53b720eb71e355c7 (patch)
tree5be50a926a746832df84e7a4abd04eb967f0bb79 /_includes/posts.html
parent28aec1dfdd90b7ffdd11321895ac37c0c2ab6fc6 (diff)
downloadpopov.link-11c402a2938935111fc6c82f53b720eb71e355c7.tar.xz
popov.link-11c402a2938935111fc6c82f53b720eb71e355c7.zip
Simplified data generation code
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_includes/posts.html')
-rw-r--r--_includes/posts.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/_includes/posts.html b/_includes/posts.html
index fee0c31..4638c9b 100644
--- a/_includes/posts.html
+++ b/_includes/posts.html
@@ -3,8 +3,8 @@
<ul>
{% for post in site.posts %}
<li>
- <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>)
+ <a href="{{ post.url | relative_url | uri_escape }}">{{ post.title | strip | normalize_whitespace | xml_escape }}</a>
+ (<time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: '%d-%m-%Y' | strip | normalize_whitespace | xml_escape }}</time>)
</li>
{% endfor %}
</ul>