possible fix for rss 🤷♂️
This commit is contained in:
+2
-1
@@ -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(),
|
||||
|
||||
@@ -18,8 +18,6 @@ const { post } = Astro.props;
|
||||
|
||||
const { data } = post;
|
||||
|
||||
console.log(post);
|
||||
|
||||
const { Content } = await post.render();
|
||||
---
|
||||
|
||||
|
||||
@@ -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) => ({
|
||||
|
||||
Reference in New Issue
Block a user