@nakedcreativity/cee-ms-node 0.3.26 → 0.3.27

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 +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -329,7 +329,7 @@ function ceems(config) {
329
329
  return
330
330
  }
331
331
  var blog = site.blogs[this.match[0]]
332
- if(scope.scopes[0].page.pagination){
332
+ if(scope.scopes[0].page && scope.scopes[0].page.pagination){
333
333
  blog.pagination = scope.scopes[0].page.pagination
334
334
  }else {
335
335
  blog.pagination = 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nakedcreativity/cee-ms-node",
3
- "version": "0.3.26",
3
+ "version": "0.3.27",
4
4
  "description": "Cee.ms for Node.js",
5
5
  "main": "index.js",
6
6
  "scripts": {