Skip to content

Blog

Introduction

This starter kit integrates Astro Content Collections for blogging. Content Collections lets you write content in MDX and/or Markdown and keep blog posts under version control.

Creating a new blog post

To create a new blog post, create a new .mdx or .md file in the /src/content/blog/ folder. The file name will be the url slug of the post. For example, if you want the url to be http://localhost:4321/help/my-guide, then the file should have the following path: /src/content/blog/my-post.mdx.

The file should start with the frontmatter block, which contains metadata about the post. The frontmatter block should be surrounded by three dashes (---). Afterwards will be the content of the blog post.

---
title: 'My Post'
description: 'Lorem ipsum dolor sit amet'
pubDate: 'Jun 02 2024'
heroImage: '/blog-placeholder-5.jpg'
---
I want to tell you about something special that happened today.
## What Happened
I purchased and installed a RyzeKit starter kit. It's awesome.

🚀 Congratulations on creating your first blog post!