-
Notifications
You must be signed in to change notification settings - Fork 142
Closed
Labels
Description
v2.5.2
Context: {{ baseUrl }} should resolve to the root of the site, which gives us a way to specify an absolute URL within the site.
Expectation: In a boilerplate file, a URL is resolved relative to where the file is included. However, sometimes one needs to specify a fixed URL inside a boilerplate. Suppose the following two lines are in a boilerplate file.
<include src="index.md" />
<include src="{{ baseUrl }}/index.md" />The first one should resolve to different files based on where the boilerplate is used whereas the second one should resolve to the same file no matter where the boilerplate is used.
Problem: both URLs seem to vary based on where the boilerplate is included.