Change portfolio model in cms

This commit is contained in:
2019-08-16 19:57:36 +02:00
parent 1ebed1139b
commit 4c30012fbf
2 changed files with 9 additions and 3 deletions

View File

@ -27,11 +27,17 @@ collections:
file: "_pages/portfolio.md"
fields:
- { label: Title, name: title, widget: string }
- { label: Content, name: content, widget: markdown }
- { label: Body, name: body, widget: markdown }
- label: Projects
name: projects
widget: list
fields:
- { label: Name, name: name, widget: string }
- { label: Description, name: description, widget: markdown }
- { label: Image, name: image, widget: image }
- label: Image
name: image
widget: object
fields:
- { label: Source, name: source, widget: image, required: false }
- { label: Image description, name: image_description, widget: string, required: false }