There was an error while loading. Please reload this page.
1 parent 7c1dbd7 commit ebdbe7aCopy full SHA for ebdbe7a
1 file changed
src/pages/feed.xml.js
@@ -6,7 +6,9 @@ import { createSafeMarkdown } from "@/utils/safeMarkdown";
6
const safeMarkdown = createSafeMarkdown();
7
8
export async function GET(context) {
9
- const blog = await getCollection("blog");
+ const blog = (await getCollection("blog")).sort((a, b) =>
10
+ b.id.localeCompare(a.id),
11
+ );
12
return rss({
13
title: "Monero",
14
description: "Monero Blog RSS Feed",
0 commit comments