summaryrefslogtreecommitdiffstats
path: root/lib/generate/site/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/generate/site/index.js')
-rw-r--r--lib/generate/site/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/generate/site/index.js b/lib/generate/site/index.js
index e0ae1e4..4eee3ca 100644
--- a/lib/generate/site/index.js
+++ b/lib/generate/site/index.js
@@ -115,7 +115,7 @@ Generator.prototype.convertFile = function(content, _input) {
};
var _callHook = function(name) {
- return that.callHook("page:before", page)
+ return that.callHook(name, page)
.then(function(_page) {
page = _page;
return page;