summaryrefslogtreecommitdiffstats
path: root/lib/generate
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-10-13 11:10:28 +0200
committerSamy Pessé <samypesse@gmail.com>2014-10-13 11:10:28 +0200
commit78e25f8252a2eaa91bbd6a6bd0377e11aa629a10 (patch)
tree859b780ba0e4031c8c73191a372c0024efc2f421 /lib/generate
parent09f42f57e1260dd29ca652f12ed858bdd5ef450b (diff)
downloadgitbook-78e25f8252a2eaa91bbd6a6bd0377e11aa629a10.zip
gitbook-78e25f8252a2eaa91bbd6a6bd0377e11aa629a10.tar.gz
gitbook-78e25f8252a2eaa91bbd6a6bd0377e11aa629a10.tar.bz2
Add link to gitbook.gitignore
Diffstat (limited to 'lib/generate')
-rw-r--r--lib/generate/page/index.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/generate/page/index.js b/lib/generate/page/index.js
index 43229a0..fb7c59d 100644
--- a/lib/generate/page/index.js
+++ b/lib/generate/page/index.js
@@ -19,7 +19,6 @@ var Generator = function() {
};
util.inherits(Generator, BaseGenerator);
-// Load all templates
Generator.prototype.loadTemplates = function() {
this.template = swig.compileFile(
this.plugins.template("page") || path.resolve(this.options.theme, 'templates/page.html')