diff options
Diffstat (limited to 'lib/generators/website.js')
-rw-r--r-- | lib/generators/website.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/generators/website.js b/lib/generators/website.js index 5fd7fd1..5dffd14 100644 --- a/lib/generators/website.js +++ b/lib/generators/website.js @@ -106,7 +106,8 @@ Generator.prototype.prepareTemplateEngine = function() { that.env.addExtension('FilterExtension', new FilterExtension(that.env)); that.env.addExtension('I18nExtension', new I18nExtension({ env: that.env, - translations: locales + translations: locales, + locale: "language" })); }); }; @@ -214,6 +215,7 @@ Generator.prototype._writeTemplate = function(tpl, options, output, interpolate) title: that.options.title, description: that.options.description, + language: that.options.language, glossary: that.book.glossary, |