possible fix for rss 🤷♂️
This commit is contained in:
+2
-1
@@ -7,7 +7,8 @@ import mdx from '@astrojs/mdx';
|
|||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
output: 'server',
|
site: 'https://ghall.blog',
|
||||||
|
output: 'hybrid',
|
||||||
adapter: netlify(),
|
adapter: netlify(),
|
||||||
integrations: [
|
integrations: [
|
||||||
mdx(),
|
mdx(),
|
||||||
|
|||||||
@@ -18,8 +18,6 @@ const { post } = Astro.props;
|
|||||||
|
|
||||||
const { data } = post;
|
const { data } = post;
|
||||||
|
|
||||||
console.log(post);
|
|
||||||
|
|
||||||
const { Content } = await post.render();
|
const { Content } = await post.render();
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,8 @@ export async function get(context) {
|
|||||||
title: 'ghall.blog',
|
title: 'ghall.blog',
|
||||||
description:
|
description:
|
||||||
'My personal blog about life, gaming, tech, and whatever else I feel like writing about.',
|
'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
|
items: blog
|
||||||
.sort((a, b) => Date.parse(b.data.pubDate) - Date.parse(a.data.pubDate))
|
.sort((a, b) => Date.parse(b.data.pubDate) - Date.parse(a.data.pubDate))
|
||||||
.map((post) => ({
|
.map((post) => ({
|
||||||
|
|||||||
Reference in New Issue
Block a user