My site is deployed at https://my.domain.com/blog/, rather than the more traditional https://my.domain.com. The tag links that appear under post titles incorrectly omit the /blog/ prefix, instead linking to https://my.domain.com/tags/whatever.
I solved this by adding my own post.html with this change:
Resubmission of #126
My site is deployed at
https://my.domain.com/blog/
, rather than the more traditionalhttps://my.domain.com
. The tag links that appear under post titles incorrectly omit the/blog/
prefix, instead linking tohttps://my.domain.com/tags/whatever
.I solved this by adding my own
post.html
with this change:Interestingly, the
Tags
link from the nav header works correctly, even though I set it's URL to/tags/
inconfig.toml
:The examples at https://gohugo.io/functions/abslangurl/ also suggest that the prefixed
/
is not correct. I think the solution is to simply remove it.