possible fix for rss 🤷‍♂️

This commit is contained in:
2024-04-12 22:09:13 -04:00
parent 99072547c1
commit 30ab3d2ba3
3 changed files with 4 additions and 4 deletions
+2 -1
View File
@@ -7,7 +7,8 @@ import mdx from '@astrojs/mdx';
// https://astro.build/config
export default defineConfig({
output: 'server',
site: 'https://ghall.blog',
output: 'hybrid',
adapter: netlify(),
integrations: [
mdx(),
-2
View File
@@ -18,8 +18,6 @@ const { post } = Astro.props;
const { data } = post;
console.log(post);
const { Content } = await post.render();
---
+2 -1
View File
@@ -10,7 +10,8 @@ export async function get(context) {
title: 'ghall.blog',
description:
'My personal blog about life, gaming, tech, and whatever else I feel like writing about.',
site: 'https://ghall.blog',
site: context.site,
trailingSlash: false,
items: blog
.sort((a, b) => Date.parse(b.data.pubDate) - Date.parse(a.data.pubDate))
.map((post) => ({