summaryrefslogtreecommitdiffstats
path: root/lib/template.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/template.js')
-rw-r--r--lib/template.js12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/template.js b/lib/template.js
index 76bb9ab..b4562b1 100644
--- a/lib/template.js
+++ b/lib/template.js
@@ -47,7 +47,17 @@ var TemplateEngine = function(book) {
new BookLoader(book),
{
// Escaping is done after by the markdown parser
- autoescape: false
+ autoescape: false,
+
+ // Tags
+ tags: {
+ blockStart: '{%',
+ blockEnd: '%}',
+ variableStart: '{{',
+ variableEnd: '}}',
+ commentStart: '{###',
+ commentEnd: '###}'
+ }
}
);
};