Sort feed items
parent
8a863d7b0d
commit
5983c5854e
|
@ -48,6 +48,7 @@ module.exports = async function() {
|
||||||
);
|
);
|
||||||
return item;
|
return item;
|
||||||
})));
|
})));
|
||||||
|
feed_items.sort((a, b) => a.pubdate - b.pubdate);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
layout: "main.njk",
|
layout: "main.njk",
|
||||||
|
|
Loading…
Reference in New Issue