Compare commits

..

No commits in common. 'main' and 'v0.5.2' have entirely different histories.
main ... v0.5.2

@ -1,6 +1,6 @@
{ {
"name": "@site-o-mat/core", "name": "@site-o-mat/core",
"version": "0.5.3", "version": "0.5.2",
"build": "webpack", "build": "webpack",
"author": "Björn Hase <me@herr-hase.wtf>", "author": "Björn Hase <me@herr-hase.wtf>",
"main": "index.js", "main": "index.js",

@ -61,7 +61,6 @@ class Page {
if (fs.existsSync(configStore.get('source') + this._permalink) && this._slug) { if (fs.existsSync(configStore.get('source') + this._permalink) && this._slug) {
this._dirPath += '/' + this._slug this._dirPath += '/' + this._slug
this._filename = 'index' this._filename = 'index'
this._permalink += '/'
} }
this._filename += '.' + this._fields.extensions this._filename += '.' + this._fields.extensions

Loading…
Cancel
Save