summaryrefslogtreecommitdiffstats
path: root/lib/output/website.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/output/website.js')
-rw-r--r--lib/output/website.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output/website.js b/lib/output/website.js
index d856229..1cdd4a6 100644
--- a/lib/output/website.js
+++ b/lib/output/website.js
@@ -138,7 +138,7 @@ WebsiteOutput.prototype.onPage = function(page) {
// Render the page template with the same context as the json output
.then(function() {
- return that.render('page', that.getPageContext(page));
+ return that.render('page', page.getContext());
})
// Write the HTML file