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
{{ message }}
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
I tried to use {{ site.baseurl_root }} in a file in _include/file.html. This file gets included in a layout, which will be used by the final page.
Looks like {{ site.baseurl_root }} and {{ site.baseurl }} don't get recognized as a valid instruction if added in a layout or in a file inside _includes, which results in the final page not showing the baseurl. Is this an expected behaviour or i'm missing something?
The text was updated successfully, but these errors were encountered:
I've found the same problem, and not sure if it is the expected behaviour, but it would be awesome if this could be fixed or clarified. For now, I'm executing my own exclude_from_localizations function after the build process to ensure that my folder assets/css is removed. You can see the patch as a Rake task here.
I tried to use {{ site.baseurl_root }} in a file in _include/file.html. This file gets included in a layout, which will be used by the final page.
Looks like {{ site.baseurl_root }} and {{ site.baseurl }} don't get recognized as a valid instruction if added in a layout or in a file inside _includes, which results in the final page not showing the baseurl. Is this an expected behaviour or i'm missing something?
Hey, I faced the same problem, and in my case, the baseurl was not correctly set. After setting it to an empty string (e.g., baseurl: ""), everything works very well.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I tried to use
{{ site.baseurl_root }}
in a file in_include/file.html
. This file gets included in a layout, which will be used by the final page.Looks like
{{ site.baseurl_root }}
and {{ site.baseurl }} don't get recognized as a valid instruction if added in a layout or in a file inside_includes
, which results in the final page not showing the baseurl. Is this an expected behaviour or i'm missing something?The text was updated successfully, but these errors were encountered: