Migrate blog to new astro Content Collections
This commit is contained in:
@@ -4,10 +4,10 @@ import Grid from '~/components/blog/Grid.astro';
|
||||
import { findPostsByIds } from '~/utils/posts';
|
||||
|
||||
const ids = [
|
||||
'get-started-website-with-astro-tailwind-css',
|
||||
'how-to-customize-astrowind-to-your-brand',
|
||||
'useful-resources-to-create-websites',
|
||||
'astrowind-template-in-depth',
|
||||
'get-started-website-with-astro-tailwind-css.md',
|
||||
'how-to-customize-astrowind-to-your-brand.md',
|
||||
'useful-resources-to-create-websites.md',
|
||||
'astrowind-template-in-depth.md',
|
||||
];
|
||||
const posts = await findPostsByIds(ids);
|
||||
---
|
||||
|
Reference in New Issue
Block a user