I wrote a short blog entry about migrating my html site (flavigula.net) to "static-generated". It's here: https://flavigula.net/static/blog/1610236800.html
The point was to mirror the gemini site as much as possible, and to parse the gemini pages and construct html from them so I only have to modify content in one place.