I’ve made a lot of mistakes building my Astro blog, and it’s been humbling. But with every misstep comes clarity. Today, I’m documenting the lessons learned and how I’m finally laying the foundation for something better.
Let me just say it: I was wrong—about a lot. This is what happens when you build without reading tutorials, guessing your way through code and expecting clean output. My Astro blog setup was a minefield of mistakes, but now I see it as necessary terrain in the learning curve.
Most of my markdown formatting issues? Yeah, those were likely caused by not loading my blog layout properly in Astro. Instead of having a unified structure, I was formatting each file manually. That’s not just inefficient—it’s chaos.
I’ve been importing CSS into every single blog post. That’s fine if you enjoy unnecessary repetition and broken styling. Turns out, all I had to do was import my global stylesheet in the layout. One file, one import—done.
The truth is, these blog posts live as HTML files. That’s cool for now, but it means I can’t just throw in Astro components and expect magic. I need to decide where Astro ends and raw HTML begins—or better yet, convert these posts into `.astro` files and unify the system.
I'm finally ready to build the foundation for a great user experience. Layouts are the key. Style once, import everywhere, and keep it clean. Maybe it’s time I actually sit down and read some tutorials instead of playing the guessing game.
// Step forward
import Layout from '../layouts/BaseLayout.astro'
Back to work, and this time—with intention.
Here's a link: Arynwood Terminal