diff options
Diffstat (limited to 'source/_layouts/category_index.html')
-rw-r--r-- | source/_layouts/category_index.html | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/source/_layouts/category_index.html b/source/_layouts/category_index.html index 7e64ebe..0c16ef3 100644 --- a/source/_layouts/category_index.html +++ b/source/_layouts/category_index.html @@ -2,15 +2,6 @@ layout: default --- -{% for post in site.categories[page.category] %} -<section class="archive"> - {% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %} - {% unless year == this_year %} - {% assign year = this_year %} - <h1 class="archive-title">{{ year }}</h1> - {% endunless %} - <article class="archive"> - {% include archive_post.html %} - </article> -</section> -{% endfor %} +{% for post in site.posts reverse %} + {% include archive_post.html %} +{% endfor %}
\ No newline at end of file |