MattSLangford / Tiny-Theme-for-Micro.blog

A custom theme for the Micro.blog platform. Created by Matt Langford.
https://tiny.micro.blog
MIT License
31 stars 23 forks source link

Incorrect category link at end of post #13

Open rickardlindberg opened 2 months ago

rickardlindberg commented 2 months ago

I have a category named Micro.blog. Its url is https://rickardlindberg.me/categories/micro-dot-blog/.

However, at the end of a post in that category, another url is rendered:

<a href="https://rickardlindberg.me/categories/micro.blog">#Micro.blog</a>

Is there a problem with this urlize? https://github.com/MattSLangford/Tiny-Theme-for-Micro.blog/blob/main/layouts/post/single.html#L32

MattSLangford commented 2 months ago

Apologies, I've been out of touch for a few days. I see the issue. The theme is creating the URL from the name of the category, not the specified path. For most cases, that is fine. However, I do need to address use cases when they're different, like in this case. This is something I will address. Thanks for pointing it out.

rickardlindberg commented 2 months ago

Thanks for taking a look at it.