Transform page after hook "page"

This commit is contained in:
Samy Pessé
2015-01-26 13:19:42 +01:00
parent cee7643f00
commit f02680dc73
+3 -1
View File
@@ -134,7 +134,9 @@ Generator.prototype.writeParsedFile = function(page) {
that.book.log.info.ln("write parsed file", page.path, "to", relativeOutput);
return that.normalizePage(page)
.then(function() {
.then(function(_page) {
page = _page;
return that._writeTemplate(that.templates["page"], {
progress: page.progress,