summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--template/en/default/config.js.tmpl11
1 files changed, 9 insertions, 2 deletions
diff --git a/template/en/default/config.js.tmpl b/template/en/default/config.js.tmpl
index 3f0bade18..0399f8b28 100644
--- a/template/en/default/config.js.tmpl
+++ b/template/en/default/config.js.tmpl
@@ -30,8 +30,15 @@ var resolution = [ [% FOREACH x = resolution %]'[% x FILTER js %]', [% END %]
// Keywords
// ========
-var keyword = [ [% FOREACH x = keyword %]'[% x FILTER js %]', [% END %] ];
-
+var keyword = [ [% FOREACH k = keywords %]'[% k.name FILTER js %]', [% END %] ];
+var keyword_descs = [
+[% FOREACH k = keywords %]
+ {
+ name: '[% k.name FILTER js %]',
+ description: '[% k.description FILTER js %]',
+ },
+[% END %]
+];
// Platforms
// =========