{% endif %}
@@ -34,7 +34,7 @@ layout: archive
{% for i in (1..categories_max) reversed %}
{% for category in site.categories %}
{% if category[1].size == i %}
-
+
{{ category[0] }}
{% for post in category.last %}
diff --git a/_layouts/posts.html b/_layouts/posts.html
index 18006143..d70ce060 100644
--- a/_layouts/posts.html
+++ b/_layouts/posts.html
@@ -4,12 +4,12 @@ layout: archive
{{ content }}
-
+
{% assign postsInYear = site.posts | group_by_exp: 'post', 'post.date | date: "%Y"' %}
{% for year in postsInYear %}