text: import seo from '@/cms/partials/seo';
  
  const collection = {
    name: 'blog',
    label: 'Articles',
    editor: {
      preview: false,
    },
    description: 'Articles content',
    folder: 'content/blog',
    slug: '{{slug}}',
    create: true,
    fields: [
      {
        label: 'Type',
        name: 'type',
        widget: 'hidden',
        default: 'article',
      },
      {
        label: 'Layout',
        name: 'layout',
        widget: 'hidden',
        default: 'Article',
      },
      {
        label: 'Title',
        name: 'title',
        widget: 'string',
        default: '',
      },
      {
        label: 'Featured Image',
        name: 'thumbnail',
        widget: 'image',
        default: '',
        required: false,
      },
      {
        label: 'Date',
        name: 'date',
        widget: 'datetime',
        default: '',
        required: false,
      },
      {
        label: 'Excerpt',
        name: 'excerpt',
        widget: 'markdown',
        default: '',
        required: false,
      },
      {
        label: 'Body',
        name: 'body',
        widget: 'markdown',
        default: '',
        required: false,
      },
      seo,
    ],
  };
  
  export default collection;
  