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

Minor changes

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2018-04-25 02:15:04 +04:00
parent 023d6ce03d
commit 50d2a17ec6
9 changed files with 17 additions and 19 deletions

View File

@ -15,14 +15,12 @@ layout: page
<div class="post-item">
<small><time datetime="{{ post.date | date_to_xmlschema}}">{{ post.date | date_to_long_string }}</time></small>
<h4>
<a href="{{ post.url | relative_url | uri_escape }}">
{{ post.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | capitalize }}
<a href="{{ post.url | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}">
{{ post.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
</a>
</h4>
{% if post.description %}
<p>{{ post.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | truncatewords: 32 }}</p>
{% endif %}
<p>{{ post.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | truncatewords: 32 | xml_escape }}</p>
</div>
{% endfor %}
{% endfor %}