I’m building a finnish blog on top of micro.blog and ran into a problem with Categories.
In my theme config.json, I added “taxonomies”:{“categories”:“kategoriat”} and replaced all references (that I could find from theme files) from categories → kategoriat. After that, I also added “permalinks”: {“categories”: “/kategoriat/:slug/”}
But after these changes and rebuilding the site, the new url structure still don’t work and if I go to https://www.juhaliikala.fi/kategoriat/blogging, I get blank page with “Not found”.
What am I missing, or is translating these things even possible? I wonder if it’s the categories term in each posts markdown (in the frontmatter part), that doesn’t get updated / translated and because of this, no luck.
Has anyone managed to do something similar? Thanks!
Micro.blog doesn’t support all of the Hugo features. In particular, support for only “categories” as a taxonomy (for example, no tags) is pretty hard coded.
That said, Micro.blog definitely doesn’t support custom slugs/urls. So I would bet everything under permalinks in your config is skipped in addition to Micro.blog not respecting alternative taxonomy options.
Yeah, it’s not such a big deal really. Was just tinkering with my site yesterday and been translating things one by one. Categories and url structure was the next in list, but I can live with them being in English
Having said that, if there is a way now or later, please ping me back here. Would be neat!
I am bit on the fence about running two separate micro.blogs though (one in English, one in Finnish). I guess the ideal solution would be to have them under one roof, but just have separate section on the site for updates in Finnish. I’m pretty sure that’s what I’ll end up with.