feat(decap): add first and last name fields to decap_cms_config.yaml (#3092)

This commit is contained in:
Filip Vukelic 2024-04-29 21:42:09 +02:00 committed by GitHub
commit e7beed231a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,6 +14,8 @@ collections:
create: true # Allow users to create new documents in this collection
fields: # The fields each document in this collection have
- {label: "Display name (such as your full name)", name: "title", widget: "string"}
- {label: "First name", name: "first_name", widget: "string", required: false}
- {label: "Last name", name: "last_name", widget: "string", required: false}
- {label: "Position or tagline (such as Professor of AI)", name: "role", widget: "string", required: false}
- label: "Avatar (upload an image named `avatar.jpg/png`)"
name: "avatar_filename"