CHANGE theme, ADD smartberg project description, CHANGE admin collection template
All checks were successful
build-to-pages / build (push) Successful in 2m31s
build-to-pages / push (push) Successful in 12s

This commit is contained in:
Hoernschen 2024-06-19 23:47:34 +02:00
parent cea2a6c551
commit 6d00013039
Signed by: hoernschen
GPG key ID: 37591FAF4E6D3462
38 changed files with 257 additions and 69 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' }