hugo-coder
hugo-coder copied to clipboard
Missing Trailing slash in HomePage link when lang != default
Describe the problem:
Main page links to a relative path without the trailing Slash, cuz it's based on baseURL instead of site.Home
Steps to reproduce:
- Add 2 langs
- Serve built pages using a strict webserver
- Switch to another lang
- HomePage link in header is missing trailing slash -> 404
Observed Results:
- Link to inexistant page
Expected :
- Link to existant page
Fixed in a PR