website/static/admin/config.yml
Hoernschen 6d00013039
All checks were successful
build-to-pages / build (push) Successful in 2m31s
build-to-pages / push (push) Successful in 12s
CHANGE theme, ADD smartberg project description, CHANGE admin collection template
2024-06-19 23:47:34 +02:00

28 lines
1.1 KiB
YAML

backend:
name: gitea
repo: melicita/website # Path to your Gitea repository
app_id: ecd1dad7-b95c-4ba3-b625-a96ec1ddd9c5 # The Client ID provided by Gitea
api_root: https://code.nutfactory.org/api/v1 # API URL of your Gitea instance
base_url: https://code.nutfactory.org # Root URL of your Gitea instance
branch: main
media_folder: assets/images
public_folder: /images
collections:
- name: 'project'
label: 'Project'
folder: 'content/projects'
create: true
slug: '{{slug}}'
editor:
preview: false
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Image', name: 'image', widget: 'object', fields:
- { label: 'Image', name: 'url', widget: 'image' }
- { label: 'Alt', name: 'alt', widget: 'string' }
- { label: 'Caption', name: 'caption', widget: 'string' }
}
- { label: 'Overview', name: 'overview', widget: 'string' }
- { label: 'Tags', name: 'tags', widget: 'list' }
- { label: 'Date', name: 'date', widget: 'datetime' }
- { label: 'Body', name: 'body', widget: 'markdown' }