dns-witch.net.eu.org/static/admin/config.yml

29 lines
1.3 KiB
YAML

backend:
name: gitlab
repo: june/netlify-test # Path to your GitLab repository
auth_type: implicit # Required for implicit grant
app_id: 96748343d3dd5b9f9cf52f3869fdc248150fae1a7096424632058bca9968cb87 # Application ID from your GitLab settings
api_root: https://framagit.org/api/v4
base_url: https://framagit.org
auth_endpoint: oauth/authorize
locale: 'fr'
# This line should *not* be indented
publish_mode: editorial_workflow
# These lines should *not* be indented
media_folder: "static/images/uploads" # Media files will be stored in the repo under static/images/uploads
public_folder: "/images/uploads" # The src attribute for uploaded media will begin with /images/uploads
collections:
- name: "page" # Used in routes, e.g., /admin/collections/pages
label: "Page" # Used in the UI
folder: "content" # The path to the folder where the documents are stored
create: true #Allow users to create new documents in this collection
slug: "{{slug}}" # Filename template, e.g., title.md
fields: # The fields for each document, usually in front matter
- {label: "Titre", name: "title", widget: "string"}
- {label: "Ordre", name: "weight", widget: "number", default :1, value_type: "int"}
- {label: "Texte", name: "body", widget: "markdown"}