Sort feed items

pull/1/head
Starbeamrainbowlabs 2021-08-09 01:50:39 +01:00
parent 8a863d7b0d
commit 5983c5854e
No known key found for this signature in database
GPG Key ID: 1BE5172E637709C2
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ module.exports = async function() {
);
return item;
})));
feed_items.sort((a, b) => a.pubdate - b.pubdate);
return {
layout: "main.njk",