From 28aec1dfdd90b7ffdd11321895ac37c0c2ab6fc6 Mon Sep 17 00:00:00 2001
From: Valentin Popov <info@valentineus.link>
Date: Thu, 23 Jan 2020 20:08:52 +0400
Subject: Deleted variable declaration

Signed-off-by: Valentin Popov <info@valentineus.link>
---
 _includes/posts.html | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

(limited to '_includes/posts.html')

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 = "" %}
-- 
cgit v1.2.3