hugo-dead-simple icon indicating copy to clipboard operation
hugo-dead-simple copied to clipboard

URL to /tags breaks with localhost

Open sepehr541 opened this issue 4 months ago • 0 comments

Hello,

When running the website locally and using the "T" key for tags, the redirection does not work. The path to /tags is hardcoded to https and does not have a port.

https://github.com/barklan/hugo-dead-simple/blob/2386d86b76ef53ee90c583602b52445b3c472e98/layouts/partials/footer_scripts.html#L21

I used this snippet to workaround this issue:

 window.location.href = `${location.origin}/tags`;

If possible, please test and upstream this change.

Thank you for your time.

sepehr541 avatar Nov 04 '25 19:11 sepehr541