swap to nested collections
All checks were successful
Hugo / build (push) Successful in 11s

This commit is contained in:
brooke 2024-06-11 01:08:34 -04:00
parent 4a3d7dff35
commit c454e2b5e7

View file

@ -12,32 +12,52 @@ locale: en
show_preview_links: false
search: false
collections:
- name: about
label: About
folder: content/about
create: false
delete: false
slug: index.md
fields:
- label: Title
name: title
widget: string
- label: Date Last Edited
name: date
widget: datetime
- label: Body
name: body
widget: markdown
- label: Image
name: gallery
widget: list
- name: pages
label: Pages
files:
- name: about
label: About Us
file: content/about/index.md
fields:
- label: Path to image
name: image
widget: string
- label: Title
name: title
widget: string
- label: Description
name: description
widget: text
- label: Date Last Edited
name: date
widget: datetime
- label: Body
name: body
widget: markdown
- label: Image
name: gallery
widget: list
fields:
- label: Path to image
name: image
widget: string
- label: Title
name: title
widget: string
- label: Description
name: description
widget: text
- name: faq
label: FAQ
file: content/about/index.md
fields:
- label: Date
name: date
widget: datetime
- label: Questions
name: questions
widget: list
fields:
- label: Question
name: question
widget: string
- label: Answer
name: answer
widget: text
- label: Link to learn more (optional)
name: learnMore
widget: string