diff options
author | Valentin Popov <info@valentineus.link> | 2018-04-25 01:15:04 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2018-04-25 01:18:49 +0300 |
commit | 50d2a17ec6b454404b086c0b000f6c94e5eac88f (patch) | |
tree | 5c61217d92e0c429187b7cc3e78c16e466d784c7 /_pages | |
parent | 023d6ce03d89b37b5bdbf628f66b0c72e348c23a (diff) | |
download | popov.link-50d2a17ec6b454404b086c0b000f6c94e5eac88f.tar.xz popov.link-50d2a17ec6b454404b086c0b000f6c94e5eac88f.zip |
Minor changes
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_pages')
-rw-r--r-- | _pages/index.html | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/_pages/index.html b/_pages/index.html index 30f8c6d..3257c6a 100644 --- a/_pages/index.html +++ b/_pages/index.html @@ -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 %} |