bones-cli 0.0.11 → 0.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,10 @@ import { Template } from 'meteor/templating';
5
5
  * TEMPLATE CREATED
6
6
  * =============================================================
7
7
  */
8
- Template.layout.onCreated(function() {});
8
+ Template.layout.onCreated(function() {
9
+ // SET LANGUAGE FOR PAGE (modify this as needed)
10
+ document.documentElement.setAttribute('lang', 'en-US');
11
+ });
9
12
 
10
13
  /**
11
14
  * =============================================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bones-cli",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "description": "Command line tools for Bones - a rapid development framework for web apps with MeteorJS & Blaze templates",
5
5
  "keywords": [
6
6
  "cli",
@@ -2,6 +2,7 @@ let route = {
2
2
  path: 'PAGE_PATH_GOES_HERE',
3
3
  name: 'TEMPLATE_NAME_GOES_HERE',
4
4
  title: 'PAGE_TITLE_GOES_HERE',
5
+ layout: 'layout',
5
6
  description: '',
6
7
  sitemap: true
7
8
  }
@@ -23,7 +24,7 @@ if (Meteor.isClient) {
23
24
  description: route.description,
24
25
  },
25
26
  action() {
26
- this.render(route.name);
27
+ this.render(route.layout, route.name);
27
28
  },
28
29
  });
29
30