diff options
Diffstat (limited to 'lib/generate/page/index.js')
-rw-r--r-- | lib/generate/page/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/generate/page/index.js b/lib/generate/page/index.js index 068358c..8e44187 100644 --- a/lib/generate/page/index.js +++ b/lib/generate/page/index.js @@ -21,10 +21,10 @@ util.inherits(Generator, BaseGenerator); Generator.prototype.loadTemplates = function() { this.template = swig.compileFile( - this.plugins.template("page") || path.resolve(this.options.theme, 'templates/page/page.html') + this.plugins.template("ebook:page") || path.resolve(this.options.theme, 'templates/ebook/page.html') ); this.summaryTemplate = swig.compileFile( - this.plugins.template("page/sumary") || path.resolve(this.options.theme, 'templates/page/summary.html') + this.plugins.template("ebook:sumary") || path.resolve(this.options.theme, 'templates/ebook/summary.html') ); }; |