update astro

This commit is contained in:
2026-08-09 09:25:13 +02:00
parent 4d181f29e7
commit 888c3c5ca6
9 changed files with 2712 additions and 3961 deletions
+2 -2
View File
@@ -11,8 +11,8 @@ export async function GET(context: { site: any; }) {
description: 'Something that\'s supposed to be thoughts.',
site: context.site,
items: posts.map((post) => ({
link: `/blog/${post.slug}/`,
content: sanitizeHtml(marked.parse(post.body), {
link: `/blog/${post.id}/`,
content: sanitizeHtml(marked.parse(post.body ?? ""), {
allowedTags: sanitizeHtml.defaults.allowedTags.concat(['img'])
}),
pubDate: new Date(post.data.publishDate),