Files
coopgo/static/admin/config.yml
2024-10-15 08:17:27 +02:00

121 lines
4.9 KiB
YAML

local_backend: true
backend:
name: git-gateway
#backend:
# name: gitea
# repo: websites/coopgo # Path to your Gitea repository
# app_id: 79f9b555-62c0-414a-a1d4-5e75f2f1e12f # The Client ID provided by Gitea
# api_root: https://git.coopgo.io/api/v1 # API URL of your Gitea instance
# base_url: https://git.coopgo.io # Root URL of your Gitea instance
# auth_endpoint: https://git.coopgo.io/login/oauth/authorize
media_folder: static/media/
public_folder: /media/
collections:
- name: 'gotogether'
label: 'Go Together'
folder: 'content/gotogether'
create: true
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
editor:
preview: false
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
- { label: 'Featured image', name: 'featuredimage', widget: 'image', 'media_folder': 'assets/images/', 'public_folder': '/images/' }
- { label: 'Description', name: 'description', widget: 'string' }
- { label: 'Body', name: 'body', widget: 'markdown' }
- name: 'pages'
label: 'Pages'
folder: 'content/pages'
create: true
slug: '{{slug}}'
editor:
preview: false
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
- { label: 'Featured image', name: 'featuredimage', widget: 'image', 'media_folder': 'assets/images/', 'public_folder': '/images/' }
- { label: 'Description', name: 'description', widget: 'string' }
- { label: 'Body', name: 'body', widget: 'markdown' }
- name: 'projects'
label: 'Projects'
folder: 'content/projects'
create: true
slug: '{{slug}}'
editor:
preview: false
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
- { label: 'Featured image', name: 'featuredimage', widget: 'image', 'media_folder': 'assets/images/', 'public_folder': '/images/' }
- { label: 'Description', name: 'description', widget: 'string' }
- { label: 'Body', name: 'body', widget: 'markdown' }
- name: 'roya'
label: 'Roya'
folder: 'content/roya'
create: true
slug: '{{slug}}'
editor:
preview: false
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
- { label: 'Featured image', name: 'featuredimage', widget: 'image', 'media_folder': 'assets/images/', 'public_folder': '/images/' }
- { label: 'Description', name: 'description', widget: 'string' }
- { label: 'Body', name: 'body', widget: 'markdown' }
- name: 'kitandgo'
label: 'KIT&Go'
folder: 'content/gotogether/kitandgo'
create: true
slug: '{{slug}}'
editor:
preview: false
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
- { label: 'Featured image', name: 'featuredimage', widget: 'image', 'media_folder': 'assets/images/', 'public_folder': '/images/' }
- { label: 'Description', name: 'description', widget: 'string' }
- { label: 'Body', name: 'body', widget: 'markdown' }
- name: 'references'
label: 'References'
folder: 'content/references'
create: true
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
editor:
preview: false
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
- { label: 'Description', name: 'description', widget: 'string' }
- { label: 'Featured image', name: 'featuredimage', widget: 'image', 'media_folder': 'assets/images/', 'public_folder': '/images/' }
- { label: 'Body', name: 'body', widget: 'markdown' }
- name: 'emplois'
label: 'Emplois'
folder: 'content/emplois'
create: true
slug: '{{slug}}'
editor:
preview: false
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
- { label: 'Featured image', name: 'featuredimage', widget: 'image', 'media_folder': 'assets/images/', 'public_folder': '/images/' }
- { label: 'Description', name: 'description', widget: 'string' }
- { label: 'Body', name: 'body', widget: 'markdown' }
- name: 'other'
label: 'Autres pages'
folder: 'content'
create: true
slug: '{{slug}}'
editor:
preview: false
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
- { label: 'Featured image', name: 'featuredimage', widget: 'image', 'media_folder': 'assets/images/', 'public_folder': '/images/' }
- { label: 'Description', name: 'description', widget: 'string' }
- { label: 'Body', name: 'body', widget: 'markdown' }