Migrate blog to new astro Content Collections

This commit is contained in:
prototypa
2023-01-01 18:32:52 -05:00
parent 785b66968a
commit d7b7baa414
15 changed files with 71 additions and 40 deletions

View File

@@ -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);
---