Closed 7heo closed 4 years ago
The navigation to the root of the website is bogus when the website isn't located at the root of a given domain (e.g. https://domain.tld/website/).
https://domain.tld/website/
hugo new site some_name
BaseURL
config.yaml
The user is brought back to the root of the domain (e.g. https://domain.tld/).
https://domain.tld/
The user is brought back to the root of the website (e.g. https://domain.tld/website/).
Description
The navigation to the root of the website is bogus when the website isn't located at the root of a given domain (e.g.
https://domain.tld/website/
).How to reproduce
hugo new site some_name
.BaseURL
inconfig.yaml
tohttps://domain.tld/website/
.https://domain.tld/website/
.https://domain.tld/website/
with a browser.:x: What is happening:
The user is brought back to the root of the domain (e.g.
https://domain.tld/
).:heavy_check_mark: What is expected:
The user is brought back to the root of the website (e.g.
https://domain.tld/website/
).