chipzoller / hugo-clarity

A theme for Hugo based on VMware Clarity
Other
572 stars 263 forks source link

Post Meta Tags Cause 301 redirect #316

Closed ShoGinn closed 2 years ago

ShoGinn commented 2 years ago

I have checked all the prerequisites below and I'm yet experiencing a problem

Describe the bug

This is a rather simple problem, I even saw it was a problem on neonmirrors.net

Essentially Tags do not include a slash suffix causing a redirect.

Here is my fix: https://github.com/ShoGinn/hugo-clarity/commit/43e1307ddf9cd594254d97911de98cba62b76504

(more specifically) -- https://github.com/ShoGinn/hugo-clarity/blob/43e1307ddf9cd594254d97911de98cba62b76504/layouts/partials/post-meta.html#L26

Desktop (please complete the following information):

Here is a screenshot depicting the crawl (red shows redirect) Directory Tree Graph

chipzoller commented 2 years ago

@ShoGinn it would be wonderful if you would submit a PR for this project!

rootwork commented 2 years ago

Looks like this was fixed in #317, so closing. Thanks for the contribution & bug fixing @ShoGinn !