diff --git a/src/index.11tydata.js b/src/index.11tydata.js index 43e64fd..0294a97 100644 --- a/src/index.11tydata.js +++ b/src/index.11tydata.js @@ -48,6 +48,7 @@ module.exports = async function() { ); return item; }))); + feed_items.sort((a, b) => a.pubdate - b.pubdate); return { layout: "main.njk",