fixes to refs

This commit is contained in:
hamdy
2020-11-08 22:27:35 +02:00
parent 6aa843cfe4
commit 0321ce6f7f
5 changed files with 53 additions and 1 deletions

View File

@@ -34,7 +34,13 @@ module.exports = {
use: '@gridsome/source-filesystem',
options: {
typeName: 'Author',
path: './content/author/*.md'
path: './content/author/*.md',
refs: {
category: {
typeName: 'Category',
create: true
}
}
}
},
{