Skip to content

Commit

Permalink
CORE-4674: put faqs on netlify (#1050)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekachxaidze98 authored Dec 21, 2023
1 parent dd38cfc commit 67e011c
Showing 1 changed file with 79 additions and 0 deletions.
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

0 comments on commit 67e011c

Please sign in to comment.