@nakedcreativity/cee-ms-node 0.3.8 → 0.3.9

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.
Files changed (2) hide show
  1. package/index.js +3 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -72,6 +72,9 @@ function ceems(config) {
72
72
  if(page.path && this.match[0] == 'page.path[0]' && site.navigation[page.path[0]]){
73
73
  console.log('navigation exists for ', this.match[0])
74
74
  scope.push(site.navigation[page.path[0]]);
75
+ }else if(page.path && this.match[0] == 'page.path[1]' && site.navigation[page.path[1]]){
76
+ console.log('navigation exists for ', this.match[0])
77
+ scope.push(site.navigation[page.path[1]]);
75
78
  }else if(site.navigation[this.match[0]]){
76
79
  scope.push(site.navigation[this.match[0]]);
77
80
  }else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nakedcreativity/cee-ms-node",
3
- "version": "0.3.8",
3
+ "version": "0.3.9",
4
4
  "description": "Cee.ms for Node.js",
5
5
  "main": "index.js",
6
6
  "scripts": {