diff --git a/_pages/index.html b/_pages/index.html index adaed06..93152b9 100644 --- a/_pages/index.html +++ b/_pages/index.html @@ -1,36 +1,32 @@ --- -permalink: "index.html" -title: "Home" layout: page +permalink: "index.html" +title: "Список всех постов" --- -{% assign amount = 0 %} {% assign postsByYear = site.posts | group_by_exp: "post", "post.date | date: '%Y'" %} {% for year in postsByYear %} - {% capture amount %}{{ amount | plus: 1 }}{% endcapture %} +
+ +

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

-

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

+ +
+{% endfor %}