hugo-theme-learn icon indicating copy to clipboard operation
hugo-theme-learn copied to clipboard

Removed condition of site being multilingual for the landingPageURL...

Open pragone opened this issue 1 year ago • 0 comments

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.

pragone avatar May 04 '23 05:05 pragone