-
Notifications
You must be signed in to change notification settings - Fork 203
{{ site.baseurl }} and {{ site.baseurl_root }} don't seem to work when included #166
Comments
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 |
+1 |
I just found out when this happens (at least for me). See #119. |
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. |
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: