Skip to content

Commit

Permalink
wip: netlify team collection
Browse files Browse the repository at this point in the history
  • Loading branch information
docsteveharris committed Oct 30, 2024
1 parent 61a3f77 commit 90cc3dd
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions admin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ collections:
required: true
hint: "Your name as you wish it to appear on the team page"
widget: "string"
pattern: [".{5}", "Some text is required"]
pattern: [".{5,}", "Some text is required"]
- name: "excerpt"
label: "One sentence bio"
required: true
Expand All @@ -58,4 +58,11 @@ collections:
widget: string
- name: image
widget: image
default: "uploads/avatars/anon.jpg"
default: "assets/uploads/avatars/anon.jpg"
- name: body
label: "Brief biography"
widget: markdown
- name: email
label: "Preferred contact email"
widget: string
pattern: [".{1,}@.{1,}\\..{2,}", "Invalid email format"]

0 comments on commit 90cc3dd

Please sign in to comment.