summaryrefslogtreecommitdiffstats
path: root/lib/output/website/onPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/output/website/onPage.js')
-rw-r--r--lib/output/website/onPage.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/output/website/onPage.js b/lib/output/website/onPage.js
index dcdd95a..64b4e04 100644
--- a/lib/output/website/onPage.js
+++ b/lib/output/website/onPage.js
@@ -56,6 +56,9 @@ function onPage(output, page) {
}
};
+ // We should probabbly move it to "template" or a "site" namespace
+ context.basePath = basePath;
+
// Render the theme
return Templating.renderFile(engine, prefix + '/page.html', context)