diff --git a/src/content/config.ts b/src/content/config.ts
index 9cd1142..106b684 100644
--- a/src/content/config.ts
+++ b/src/content/config.ts
@@ -1,6 +1,6 @@
import { z, defineCollection } from 'astro:content';
-const blog = defineCollection({
+const posts = defineCollection({
schema: z.object({
title: z.string(),
description: z.string().optional(),
@@ -23,5 +23,5 @@ const blog = defineCollection({
});
export const collections = {
- blog: blog,
+ posts: posts,
};
diff --git a/src/content/blog/astrowind-template-in-depth.md b/src/content/posts/astrowind-template-in-depth.md
similarity index 100%
rename from src/content/blog/astrowind-template-in-depth.md
rename to src/content/posts/astrowind-template-in-depth.md
diff --git a/src/content/blog/get-started-website-with-astro-tailwind-css.md b/src/content/posts/get-started-website-with-astro-tailwind-css.md
similarity index 100%
rename from src/content/blog/get-started-website-with-astro-tailwind-css.md
rename to src/content/posts/get-started-website-with-astro-tailwind-css.md
diff --git a/src/content/blog/how-to-customize-astrowind-to-your-brand.md b/src/content/posts/how-to-customize-astrowind-to-your-brand.md
similarity index 100%
rename from src/content/blog/how-to-customize-astrowind-to-your-brand.md
rename to src/content/posts/how-to-customize-astrowind-to-your-brand.md
diff --git a/src/content/blog/markdown-elements-demo-post.mdx b/src/content/posts/markdown-elements-demo-post.mdx
similarity index 100%
rename from src/content/blog/markdown-elements-demo-post.mdx
rename to src/content/posts/markdown-elements-demo-post.mdx
diff --git a/src/content/blog/useful-resources-to-create-websites.md b/src/content/posts/useful-resources-to-create-websites.md
similarity index 100%
rename from src/content/blog/useful-resources-to-create-websites.md
rename to src/content/posts/useful-resources-to-create-websites.md
diff --git a/src/pages/index.astro b/src/pages/index.astro
index f0cc53e..6686681 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -102,7 +102,6 @@ const meta = {
+ >
+
+
+ Ad vix debet docendi
+
+ Ne dicta praesent ocurreret has, diam theophrastus at pro. Eos etiam regione ut, persius eripuit quo id. Sit te euismod tacimates.
+
+
diff --git a/src/utils/blog.ts b/src/utils/blog.ts
index 05cb8f2..03d48ef 100644
--- a/src/utils/blog.ts
+++ b/src/utils/blog.ts
@@ -3,7 +3,7 @@ import type { CollectionEntry } from 'astro:content';
import type { Post } from '~/types';
import { cleanSlug } from './permalinks';
-const getNormalizedPost = async (post: CollectionEntry<'blog'>): Promise => {
+const getNormalizedPost = async (post: CollectionEntry<'posts'>): Promise => {
const { id, slug = '', data } = post;
const { Content, remarkPluginFrontmatter } = await post.render();
@@ -28,7 +28,7 @@ const getNormalizedPost = async (post: CollectionEntry<'blog'>): Promise =
};
const load = async function (): Promise> {
- const posts = await getCollection('blog');
+ const posts = await getCollection('posts');
const normalizedPosts = posts.map(async (post) => await getNormalizedPost(post));
const results = (await Promise.all(normalizedPosts))