This commit is contained in:
2025-06-03 15:13:30 -06:00
parent 35a6992f55
commit 5681e43341
2 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,7 @@ export default defineConfig({
redirects: {
'/feed': '/rss.xml',
},
output: 'server',
vite: {
plugins: [tailwindcss()]
},

View File

@ -3,6 +3,8 @@ import { getCollection, type CollectionEntry } from 'astro:content';
import { Icon } from 'astro-icon/components';
import Layout from '../../layouts/Layout.astro';
export const prerender = true;
export async function getStaticPaths() {
const posts = await getCollection('posts');
return posts.map((post: CollectionEntry<'posts'>) => ({