backend: name: github branch: main # Replace with your default branch if different repo: anantis-security/anantis-website # Replace with your repository details site_domain: anantis.io # Replace with your site's domain base_url: https://decap.anantis.io # Replace with your site's URL auth_endpoint: auth i18n: structure: multiple_folders locales: [en, fr] default_locale: en media_folder: 'src/assets/images' public_folder: '~/assets/images' # i18n : # - true : you can create a custom field for each locale # - duplicate : copy from default locale # - false : no content at all for secondary locales collections: - name: 'post' label: 'Post' folder: 'src/content/post' i18n: true create: true fields: - { label: 'Title', name: 'title', widget: 'string', i18n: true } - { label: 'Excerpt', name: 'excerpt', widget: 'string', i18n: true } - { label: 'Category', name: 'category', widget: 'string', i18n: duplicate } - { label: 'Tags', name: 'tags', widget: 'list', allow_add: true, allow_delete: true, collapsed: false, i18n: true, field: { label: 'Tag', name: 'tag', widget: 'string', i18n: true }, } - { label: 'Image', name: 'image', default: '~/assets/images/1.jpg', allow_multiple: false, widget: 'image', i18n: duplicate } - { label: 'Publish Date', name: 'publishDate', widget: 'datetime', required: false, i18n: duplicate } - { label: 'Author', name: 'author', widget: 'string', i18n: duplicate } - { label: 'Content', name: 'body', widget: 'markdown', i18n: true }