mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-01-01 01:16:26 +00:00
fixed the order of RSS items and posts on the archive page
This commit is contained in:
@ -4,7 +4,7 @@ title: Blog Archives
|
||||
---
|
||||
%h2 Blog Archives
|
||||
|
||||
- posts = site.posts.group_by { |p| p.date.strftime("%Y") }
|
||||
- posts = site.posts.reverse.group_by { |p| p.date.strftime("%Y") }
|
||||
- posts.keys.each do |year|
|
||||
%h3= year
|
||||
%ul
|
||||
|
||||
Reference in New Issue
Block a user