diff --git a/package.json b/package.json index 44d82ef..68a66a7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@site-o-mat/core", - "version": "0.5.2", + "version": "0.5.3", "build": "webpack", "author": "Björn Hase ", "main": "index.js", diff --git a/src/factories/page.js b/src/factories/page.js index 8d2913a..e4996b8 100644 --- a/src/factories/page.js +++ b/src/factories/page.js @@ -61,6 +61,7 @@ class Page { if (fs.existsSync(configStore.get('source') + this._permalink) && this._slug) { this._dirPath += '/' + this._slug this._filename = 'index' + this._permalink += '/' } this._filename += '.' + this._fields.extensions