🩹 Fix RSS feed
This commit is contained in:
File diff suppressed because one or more lines are too long
+10
-10
@@ -7,13 +7,13 @@ import alpinejs from '@astrojs/alpinejs';
|
|||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
site: 'https://ghall.blog',
|
site: 'https://ghall.space',
|
||||||
output: 'static',
|
output: 'static',
|
||||||
integrations: [mdx(), alpinejs()],
|
integrations: [mdx(), alpinejs()],
|
||||||
experimental: {
|
experimental: {
|
||||||
svg: true,
|
svg: true,
|
||||||
},
|
},
|
||||||
redirects: {
|
redirects: {
|
||||||
'/posts/[...slug]': '/blog/[...slug]',
|
'/posts/[...slug]': '/blog/[...slug]',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
ghall.blog
|
ghall.space
|
||||||
|
|||||||
@@ -27,9 +27,9 @@ const title = Astro.props.title || Astro.props.frontmatter?.title || 'Unknown';
|
|||||||
/><link
|
/><link
|
||||||
rel="alternate"
|
rel="alternate"
|
||||||
type="application/rss+xml"
|
type="application/rss+xml"
|
||||||
title="ghall.blog - RSS"
|
title="ghall.space - RSS"
|
||||||
href={`${Astro.site}rss.xml`}
|
href={`${Astro.site}rss.xml`}
|
||||||
/><title>{`ghall.blog - ${title}`}</title>
|
/><title>{`ghall.space - ${title}`}</title>
|
||||||
<ClientRouter />
|
<ClientRouter />
|
||||||
</head>
|
</head>
|
||||||
<body class="layout-simple" transition:animate="fade">
|
<body class="layout-simple" transition:animate="fade">
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ const parser = new MarkdownIt({ html: true });
|
|||||||
export async function GET(context) {
|
export async function GET(context) {
|
||||||
const blog = await getCollection('blog');
|
const blog = await getCollection('blog');
|
||||||
return rss({
|
return rss({
|
||||||
title: 'ghall.blog',
|
title: 'ghall.space',
|
||||||
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: context.site,
|
site: context.site,
|
||||||
|
|||||||
Reference in New Issue
Block a user