diff options
Diffstat (limited to 'lib/output/website/onPage.js')
-rw-r--r-- | lib/output/website/onPage.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/output/website/onPage.js b/lib/output/website/onPage.js index 16a5c39..14c7b22 100644 --- a/lib/output/website/onPage.js +++ b/lib/output/website/onPage.js @@ -67,8 +67,8 @@ function onPage(output, page) { return Templating.renderFile(engine, prefix + '/page.html', context) // Write it to the disk - .then(function(html) { - return writeFile(output, filePath, html); + .then(function(tplOut) { + return writeFile(output, filePath, tplOut.getContent()); }); }); } |