Michael Mulek /
My First Blog Post
This is an example post for the Astro blog.
#astro
#blog
Welcome to the Blog!
This is a simple paragraph written in Markdown.
Now that you have this file, your blog index (src/pages/blog/index.astro) should successfully fetch it and display a link.
Quick Checklist:
- File Location: Is the file at
src/pages/blog/first-post.md? - Layout Path: Does the
layoutpath (../../layouts/BlogPostLayout.astro) correctly point to your blog post layout component? If you don’t have a specific blog post layout, you can temporarily change this to your main layout:
(You might need to adjust the path based on wherelayout: ../../layouts/MainLayout.astroMainLayout.astrolives.) - Required Frontmatter: The index page needs the
title,description, andpubDateto be present in the frontmatter block (---).
Once this file is in place, you should be able to view your blog archive page at /blog/ and click the link to see this post!