diff options
Diffstat (limited to 'lib/generate/site/index.js')
-rw-r--r-- | lib/generate/site/index.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/generate/site/index.js b/lib/generate/site/index.js index 6d86c7c..a62108b 100644 --- a/lib/generate/site/index.js +++ b/lib/generate/site/index.js @@ -36,13 +36,13 @@ Generator.prototype.load = function() { // Load all templates Generator.prototype.loadTemplates = function() { this.template = swig.compileFile( - this.plugins.template("site") || path.resolve(this.options.theme, 'templates/site.html') + this.plugins.template("site:page") || path.resolve(this.options.theme, 'templates/book/page.html') ); this.langsTemplate = swig.compileFile( - this.plugins.template("langs") || path.resolve(this.options.theme, 'templates/langs.html') + this.plugins.template("site:langs") || path.resolve(this.options.theme, 'templates/book/langs.html') ); this.glossaryTemplate = swig.compileFile( - this.plugins.template("glossary") || path.resolve(this.options.theme, 'templates/glossary.html') + this.plugins.template("site:glossary") || path.resolve(this.options.theme, 'templates/book/glossary.html') ); }; |