diff options
author | Valentin Popov <info@valentineus.link> | 2020-01-23 19:08:52 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-01-23 19:12:44 +0300 |
commit | 28aec1dfdd90b7ffdd11321895ac37c0c2ab6fc6 (patch) | |
tree | 827c4f21448446777e651e05582222fcd4379894 /_includes/posts.html | |
parent | 8184c9403408ec66c19cdee80d55d9db7ecf87c7 (diff) | |
download | popov.link-28aec1dfdd90b7ffdd11321895ac37c0c2ab6fc6.tar.xz popov.link-28aec1dfdd90b7ffdd11321895ac37c0c2ab6fc6.zip |
Deleted variable declaration
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_includes/posts.html')
-rw-r--r-- | _includes/posts.html | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/_includes/posts.html b/_includes/posts.html index 6dc0d2b..fee0c31 100644 --- a/_includes/posts.html +++ b/_includes/posts.html @@ -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 = "" %} |