summaryrefslogtreecommitdiffstats
path: root/lib/output/base.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/output/base.js')
-rw-r--r--lib/output/base.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/output/base.js b/lib/output/base.js
index cc4eb8d..fdddfe8 100644
--- a/lib/output/base.js
+++ b/lib/output/base.js
@@ -47,7 +47,11 @@ Output.prototype.generate = function() {
// Load all plugins
.then(function() {
- return that.plugins.loadAll();
+ return that.plugins.loadAll()
+ .then(function() {
+ that.template.addFilters(that.plugins.getFilters());
+ that.template.addBlocks(that.plugins.getBlocks());
+ });
})
// Initialize the generation