Astro Blog Sample

1/29/2022

I played with the Astro blog sample and made a few additional features. Namely a summary page for each year and a summary for each month. That should help the navigation when you have a lot of posts

Here is the source on github or see it live here at scrbrd.com The code is slightly different the concepts is the same.

Note there is currently an issue with nested calls to Astro.fetchContent that work fine in dev but will hang the build. You can follow the github issue here.

As a note you may want to use MDX files rather than MD. As your site gets larger they compile faster and offer a few more features. I was able to add categories and pinned posts. This blog is now running astro.

Update April 2022: Using Beta 5 this nested bug is fixed and the code in my github has been updated.

Update June 2022: 1.0.0-beta.53 style bug fixed and the code in my github has been updated.

Update January 2023: This blog is now running on astro. It’s built using github actions and hosted on firebase hosting.