From 11edc5f396fed02c69eaa4695d076be764c007fe Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Wed, 27 May 2015 22:47:39 +0200 Subject: [PATCH] Use reverse order for categories (newest posts first) --- _plugins/category_archive_plugin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_plugins/category_archive_plugin.rb b/_plugins/category_archive_plugin.rb index 53bd3c2..a448adb 100644 --- a/_plugins/category_archive_plugin.rb +++ b/_plugins/category_archive_plugin.rb @@ -89,7 +89,7 @@ module Jekyll self.ext = '.html' self.basename = 'index' self.content = <<-EOS -{% for post in page.posts %}
  • {{ post.title }}
  • +{% for post in page.posts reversed %}
  • {{ post.title }}
  • {% endfor %} EOS self.data = {