|
|
@ -61,6 +61,7 @@ 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
|
|
|
|