backend: name: github branch: main publish_mode: editorial_workflow repo: one-aalam/astro-ink # change this to your repo site_domain: astro-ink.vercel.app # change this to your domain base_url: https://astro-ink.vercel.app # change this to your prod URL auth_scope: repo auth_endpoint: oauth display_url: https://astro-ink.vercel.app logo_url: https://astro-ink.vercel.app/assets/logo.svg commit_messages: create: 'Create {{collection}} “{{slug}}”' update: 'Update {{collection}} “{{slug}}”' delete: 'Delete {{collection}} “{{slug}}”' uploadMedia: '[skip ci] Upload “{{path}}”' deleteMedia: '[skip ci] Delete “{{path}}”' media_folder: 'public/images/uploads' # Folder where user uploaded files should go public_folder: '/images/uploads' collections: # A list of collections the CMS should be able to edit - name: 'post' # Used in routes, ie.: /admin/collections/:slug/edit label: 'Post' # Used in the UI, ie.: "New Post" folder: 'src/content/blog' # The path to the folder where the documents are stored create: true # Allow users to create new documents in this collection fields: # The fields each document in this collection have - {label: "Layout", name: "layout", widget: "hidden", default: "$/layouts/post.astro"} - { label: 'Title', name: 'title', widget: 'string' } - { label: 'Description', name: 'description', widget: 'text' } - { label: 'Body', name: 'body', widget: 'markdown' } - { label: 'Tags', name: 'tags', widget: 'list' } - { label: 'Author', name: 'author', widget: 'string' } - { label: 'Author Twitter Handle', name: 'authorTwitter', widget: 'string' } - { label: 'Publish Date', name: 'date', widget: 'datetime' }