mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-11-24 13:10:18 +01:00
Alan Orth
d4ece493ba
Hard code a trailing slash in URLs for categories and tags to avoid an HTTP 301 redirect at the very least, and an HTTP 404 at the very worst (depending on web server configuration). This is a workaround for a problem caused by our manual construction of URLs using the categories and tags strings in post front matter. Hugo's own taxonomy tooling always uses a trailing slash. See: https://github.com/alanorth/hugo-theme-bootstrap4-blog/issues/128 |
||
---|---|---|
.. | ||
_default | ||
partials | ||
404.html | ||
robots.txt |