Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Partials should have a variable outputPage available, so Relative works out-of-the-box with extensions blog Posts and Indexifier #393
To make the file:// protocol work locally, you need to use the Relative extension. But to make Relative work with extensions that change the directory hierarchy (such as Indexifier and blog Posts), you need to pass an extra variable (which I call outputPage) through all partials:
Make partials provide that outputPage out of the box.
I am not the only one running into this (they call it realPage instead outputPage):
Other names for outputPage: realPage, ancestorPage, rootPage. Name it as you like :) Don't use the name parentPage, because a partial inside a partial should reference not it's parent (= the other partial) but that one above it.