summaryrefslogtreecommitdiffstats
path: root/lib/template.js
blob: 9576fe9488c7f551928a941ab5ad90feef072d6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
var _ = require("lodash");
var nunjucks = require("nunjucks");

var TemplateEngine = function(book) {
	this.book = book;
};

// Render a file from the book
TemplateEngine.prototype.renderFile = function(filename) {
	var that = this;

	return this.book.readFile(filename)
	.then(function(content) {

	});
};

module.exports = TemplateEngine;