diff options
Diffstat (limited to 'lib/generate/site/index.js')
-rw-r--r-- | lib/generate/site/index.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/generate/site/index.js b/lib/generate/site/index.js index 474de2a..8b080f2 100644 --- a/lib/generate/site/index.js +++ b/lib/generate/site/index.js @@ -26,6 +26,7 @@ var Generator = function() { // Attach methods to instance _.bindAll(this); + this.revision = Date.now(); this.indexer = indexer(); // Load base template @@ -41,6 +42,8 @@ Generator.prototype._writeTemplate = function(tpl, options, output) { return Q() .then(function(sections) { return tpl(_.extend({ + revision: that.revision, + title: that.options.title, description: that.options.description, |