I am a Hugo newbie, so apologies if the cause of the below is obvious to you, but I cannot seem to make a baseURL work if it contains more than just the domain, e.g.
https://mysite.com/test. For some reason, the links to content contain the “test” dir twice, like e.g.
I already searched through the docs and the forum but without a result.
What I have in config.toml:
baseurl = "https://mysite.com/test" [[menu.main]] name= "About" url = "/about/"
All other relevant settings should be pretty much default. (E.g. I did not set canonifyurl etc.)
content/ there is an
about.md file. Nothing unusual so far.
Now if I run Hugo (v0.15) to generate the site into $PUBLIC_WWW/test…
hugo -d $HOME/html/test
…and point a browser to
https://mysite.com/test, the home page loads fine but the link to the about page looks like this:
The theme I use is Hype-X.
Did I overlook something obvious? How can I make this setup work?