Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORE-4674: put faqs on netlify #1050

Merged
merged 1 commit into from
Dec 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 79 additions & 0 deletions netlify-cms.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1345,3 +1345,82 @@ collections:
widget: text
label: Sub Description dashboard
hint: Sub Description for Dashboard

- name: FAQs

create: false
delete: false

label: 📚 FAQs
label_singular: FAQs
files:
- name: faqs
label: ℹ️ Metadata (title, description, headline)
file: faqs/meta.yml
fields:
- name: title
widget: string
label: Title
hint: >
Displayed in the browser as a tab name and in Google, when
the page appears in the search results.
- name: tagline
widget: text
label: Description
hint: >
Description of the page, not visible on the page but will be shown
in search engines when the page appers in results. Important
to have good performance in search engines.
- name: FAQs
label: FAQs
file: faqs/faqs.yml
fields:
- name: items
widget: list
label: Items
allow_add: true
hint: >
Anchor links to the page content. Must to equal block name.
fields:
- name: id
widget: string
label: ID
hint: id of the block. Must match anchor link url
- name: title
widget: string
label: Title
hint: Title of the links block
- name: updateDate
widget: string
label: Title
hint: Update date of block
- name: sections
widget: object
label: Sections
hint: Section dividers
allow_add: true
fields:
- name: id
label: ID
widget: string
hint: id of subItems, some might not have it
- name: title
widget: string
label: Title
hint: Title of subItems, some might not have it
- name: items
label: items
widget: object
fields:
- question: question
widget: text
label: question
hint: question we asked
- name: answer
widget: text
label: answer
hint: answer we got
- name: slug
widget: text
label: slug
hint: hint for us
Loading