generated

This commit is contained in:
forgejo-actions 2024-06-19 21:50:32 +00:00
parent 30a36ff490
commit 48b1d57d3a
374 changed files with 334 additions and 77 deletions

View file

@ -8,14 +8,21 @@ backend:
media_folder: assets/images
public_folder: /images
collections:
- name: 'portfolio'
label: 'Portfolio'
folder: 'content/portfolio'
- name: 'project'
label: 'Project'
folder: 'content/projects'
create: true
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
slug: '{{slug}}'
editor:
preview: false
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
- { 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' }