Update gitignore, remove RSS sorting

This commit is contained in:
Cassidy Williams committed 2024-01-05 14:20:34 -06:00
1 parent af781cc567
commit b493e967f0
2 files changed
+3 -6

No files matched your search

+1 -5
View File
@@ -3,11 +3,7 @@ import { SITE_TITLE, SITE_DESCRIPTION } from "../config";
let posts = Object.values(import.meta.glob("../posts/*.md", { eager: true }));
posts = posts.sort(
(a, b) =>
new Date(b.frontmatter.updated || b.frontmatter.added).valueOf() -
new Date(a.frontmatter.updated || a.frontmatter.added).valueOf()
);
console.log(posts);
export const get = () =>
rss({