Collecting my attempts to improve at tech, art, and life

2021-12-23

Tags: hackers-town look

Does any of this enlighten, entertain, or otherwise please you? Please consider a Tip. Every little bit helps!

I last updated this page

I got Astro working

cover-i-got-astro-working

Astro is great once you get started. A bit funky if you have twenty years of legacy content.

Rather than do my usual — a screenshot and maybe a “lesson learned” post — this time around I made a public repo and public instance of this in-progress experiment available for your entertainment and edification.

2025-09-03

Neither of which are still going four years later. Sorry about that. Had to tidy up some stuff. Astro changes quick enough that the repo would have done more harm than good at this point.

Oh and lesson learned: components are fussy, and the errors don’t always happen where you expect. Treat all your imported HTML as XHTML, and look for stray { characters. You might need to convert those to {.

Took me months to figure that out. Hopefully it saves you a few hours of confusion.

Activity Log

hackers.town: 2021-12-23 Thu 00:55

This mess is what a hard-earned success looks like. Astro sees and builds all ~600 content files from my blog.

Well enough to list them at least.

So that’s 80% of the work done. Now for the next 80%.

screenshot of note titles in a blog

hackers.town: 2021-12-23 Thu 14:46

Forgot to restart WSL after adjusting my system clock.

Github commit list showing that my recently pushed commits happened in the future.

hackers.town: 2021-12-23 Thu 15:35

I wrote a note:

I got Astro working!

#AstroDotBuild #SSG #Site #Blog

https://randomgeekery.org/note/2021/12/i-got-astro-working/

hackers.town: 2021-12-23 Thu 20:27

Section year pages in Astro using just about the same logic as I had on my Hugo site before, but a lot quicker to read / write because it’s not that dang Go template language.

site screenshot showing recent posts next to a list of years with per-year post counts

hackers.town: 2021-12-23 Thu 21:12

OTOH Astro takes 87 seconds on my machine to build what I have so far, which is roughly a minute and a half longer than Hugo takes to build the text content.

I haven’t tried to tweak anything for performance yet, but I got a hunch it won’t ever be close.