Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
corrected multi language links #202
correction of header partial to render the correct multi language URLs for main page and menu items including language prefix.
Before, the URL to sites in languages different to the default language needed the language prefix.
Aug 5, 2019
Sorry, I just noticed that the wiki also still needs updating at https://github.com/luizdepra/hugo-coder/wiki/Multilingual-Mode
url should not be with leading slash nor language e.g. replace url="/about/" by url="about/" and url="/pl/about/" by url="about/".
Also the last sentence should be removed: "In this case, remember to update your menus URLs (i.e. /en/about/)." It is wrong now.
Thanks for the merge.