Welcome to your new Astro blog! This is your first post, and it serves as a living example of the frontmatter schema and Markdown features available in this template.
What is Astro?
Astro is a modern web framework optimised for content-heavy websites. It ships zero JavaScript by default, sending only HTML and CSS to the browser unless you explicitly opt in to client-side interactivity.
Key benefits:
- Island Architecture — hydrate only the components that need JS
- Framework agnostic — use React, Vue, Svelte, Solid, or plain HTML
- Content Collections — type-safe Markdown and MDX with Zod validation
- Built-in optimisations — automatic image optimisation, CSS scoping, and more
Markdown Features
Code Blocks
import { getCollection } from 'astro:content';
const posts = await getCollection('blog', ({ data }) => {
return !data.draft;
});
Tables
| Feature | Supported |
|---|---|
| Markdown | ✅ |
| MDX | ✅ |
| TypeScript | ✅ |
| Tailwind CSS | ✅ |
| Sitemap | ✅ |
| RSS Feed | ✅ |
Blockquotes
The web is for everyone. Astro helps you build fast, accessible sites without sacrificing developer experience.
Next Steps
- Edit this file at
src/content/blog/first-post.md - Add more posts to
src/content/blog/ - Customise the layout in
src/layouts/BlogPostLayout.astro - Update site metadata in
astro.config.mjs - Deploy to Netlify by connecting your Git repository