I used the Hugo instructions for a user page here to build and deploy the Hugo website I had locally.
The website exists at a url that looks like
https://username.github.io. When I navigate to a blog post, the url starts stacking on itself, ie it becomes
The main issue with this is that if I want to click the blog title link which helps me get back to the homepage, I get a 404 error because the url ends up being
https://username.github.io/username.github.io/posts/post_1/username.github.io. Not only is it long and clunky, but it should be
https://username.github.io which is the homepage url and is the given
<a href> url in the code.
What can I change so the url doesn’t stack on itself?