I switch my blog from Middleman to Astro. It was a long time coming, but thanks to bolt.new and continue.dev, I was able to use AI to do all the heavy lifting. Below is the generic template post, that I’ve decided to keep.
Astro is a modern static site builder that offers an exciting new approach to building websites. In this post, I’ll share my experience with Astro and why I think it’s a great choice for content-focused websites.
Astro stands out for several reasons:
Here’s a simple Astro component:
---
// Your component script goes here
const greeting = "Hello, Astro!";
---
<div class="greeting">
<h1>{greeting}</h1>
<p>Welcome to my blog!</p>
</div>
<style>
.greeting {
color: navy;
padding: 1rem;
}
</style>
Astro’s approach to JavaScript is particularly interesting. By shipping zero JavaScript by default, your sites are:
Astro represents a significant step forward in static site generation. Its focus on performance and developer experience makes it an excellent choice for modern web development.