From 5668edea38da9fd1cad629db9c768ff19e62e094 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 3 May 2019 04:02:31 +0400 Subject: Have added new structure sites Signed-off-by: Valentin Popov --- _pages/index.html | 39 ++++++++++++++------------------------- 1 file changed, 14 insertions(+), 25 deletions(-) (limited to '_pages/index.html') diff --git a/_pages/index.html b/_pages/index.html index ffc140d..7ebd809 100644 --- a/_pages/index.html +++ b/_pages/index.html @@ -1,33 +1,22 @@ --- -title: "Posts list" permalink: "index.html" layout: page -show: false --- -{% assign postsByYear = site.posts | group_by_exp: "post", "post.date | date: '%Y'" %} +{% for post in site.posts %} +
+

+ + + -{% for year in postsByYear %} -
- -

{{ year.name | strip_newlines | strip_html | strip | normalize_whitespace | smartify | slugify }}

+ + {{ post.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }} + +

- -
+

{{ post.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}

+ {% endfor %} -- cgit v1.2.3