After two and a half rewrites, I finally finished my Gemini implementation in Hugo. The rewrites were mostly me realizing I could have done something differently and better but the template was already too convoluted to try and fix.
I think I've gotten my Hugo "theme" to cover most, if not, all the use-cases for interacting with this static site generator. My first attempt was using the [.RawContent] page variable and then parsing the Markdown into gemtext format. I later realized this was an awful decision and rewrote everything using [.Content] instead so it outputs HTML codes. Turns out, it's a lot easier to parse HTML for me.
I /may/ have missed a few edge-cases but I'll deal with those as they come. As far as I'm aware, this theme is now feature complete.
So hello, and welcome to my gemlog. I only plan to post English content here since that seems to be the majority of the userbase anyway.
I actually forgot how I learned about Gemini, but it sent me down this rabbit hole and then I ended up here now, with my own capsule.
What made me like Gemini is that it leans more towards small personal spaces than what the current web has to offer. I have to be honest, I would have loved at least an inline image support as well as *some* minor text decorations but I'll make it work.
That's it for now!
_ =:-:. Published on 2022-02-26 at 17:28. /: // _.._.- Comments or feedback? E-mail me! : '`..-`/ I would love to hear from you. ♡ `.____." 📧 gemini@swan.quest
Powered by Hugo 0.93.1, held together by tape.