summaryrefslogtreecommitdiffstats
path: root/lib/templating/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/templating/index.js')
-rw-r--r--lib/templating/index.js27
1 files changed, 0 insertions, 27 deletions
diff --git a/lib/templating/index.js b/lib/templating/index.js
deleted file mode 100644
index 3a0fc16..0000000
--- a/lib/templating/index.js
+++ /dev/null
@@ -1,27 +0,0 @@
-var nunjucks = require('nunjucks');
-
-function TemplatingEngine(book) {
- this.book = book;
- this.log = book.log;
-
- this.nunjucks = new nunjucks.Environment(
- this.loader,
- {
- // Escaping is done after by the asciidoc/markdown parser
- autoescape: false,
-
- // Syntax
- tags: {
- blockStart: '{%',
- blockEnd: '%}',
- variableStart: '{{',
- variableEnd: '}}',
- commentStart: '{###',
- commentEnd: '###}'
- }
- }
- );
-}
-
-
-module.exports = TemplatingEngine;