oops
This commit is contained in:
@ -19,6 +19,7 @@ export default defineConfig({
|
||||
redirects: {
|
||||
'/feed': '/rss.xml',
|
||||
},
|
||||
output: 'server',
|
||||
vite: {
|
||||
plugins: [tailwindcss()]
|
||||
},
|
||||
|
@ -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'>) => ({
|
||||
|
Reference in New Issue
Block a user