Change config key for special files
This commit is contained in:
parent
a7cb95ee5f
commit
99ea311de6
|
@ -95,7 +95,7 @@ export class Scanner {
|
|||
const filePath = path.join(process.cwd(), 'content', file)
|
||||
const metadata = this.fileMetadata(filePath)
|
||||
|
||||
if (this.config['non-content-files'].indexOf(file) === -1) {
|
||||
if (this.config.specialFiles.indexOf(file) === -1) {
|
||||
const frontMatter = fm(data)
|
||||
|
||||
if (frontMatter.attributes.draft) {
|
||||
|
|
Loading…
Reference in New Issue