hugo-theme-learn
hugo-theme-learn copied to clipboard
Removed condition of site being multilingual for the landingPageURL...
Removed condition of site being multilingual for the landingPageURL to be honoured
This theme ignores the landingPageURL for the link on the Home Page if the site is not multilingual. Currently in menu.html, it checks for the site to be multilingual at the same time that it checks for a landingPageURL to be set. In my case (and the reason why I'm contributing this PR) I have a single-language site that is not hosted on "/", so I'd like to have a Home button that takes me to the actual home page of the generated site.
Thanks for all the great work in this theme. Hope this is a small improvement that can be added soon.