mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 19:15:16 +02:00
feat(decap): add first and last name fields to decap_cms_config.yaml (#3092)
This commit is contained in:
parent
5c88aec094
commit
e7beed231a
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue