Hi,
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. https://mysite.com/test/test/about/
.
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.)
And in 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:
https://mysite.com/test/test/about/
The theme I use is Hype-X.
Did I overlook something obvious? How can I make this setup work?
Thanks,
Christoph