You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever the web pages are not deployed in the root but under a subpath you cannot use the click on the logo as the link points to the urls root and not the basepath of your website.
Problem:
Whenever the web pages are not deployed in the root but under a subpath you cannot use the click on the logo as the link points to the urls root and not the basepath of your website.
Presumed cause:
In .../layouts/partials/logo.html
<a id="logo" href='{{ (cond (and (ne .Site.Params.landingPageURL nil) (.Site.IsMultiLingual)) .Site.Params.landingPageURL "/") }}'>
no
relLangURL
so href does not carry theBasePath
.Proposed modification:
add relLangURL
<a id="logo" href='{{ (cond (and (ne .Site.Params.landingPageURL nil) (.Site.IsMultiLingual)) .Site.Params.landingPageURL "/") | relLangURL }}'>
System-Info:
vanilla deployed on github-pages
The text was updated successfully, but these errors were encountered: