15 lines
357 B
TypeScript
15 lines
357 B
TypeScript
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'),
|
|
},
|
|
});
|