Added AWQ Articles
This commit is contained in:
14
src/keystatic/collections/awq/article.ts
Normal file
14
src/keystatic/collections/awq/article.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { collection } from '@keystatic/core';
|
||||
|
||||
import { createArticleField } from '@/keystatic/fields/article';
|
||||
|
||||
export default collection({
|
||||
label: 'AWQ - Posts',
|
||||
slugField: 'title',
|
||||
path: 'content/awq/articles/*',
|
||||
format: { contentField: 'content' },
|
||||
entryLayout: 'content',
|
||||
schema: {
|
||||
...createArticleField('awq/articles', 'awq'),
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user