Skip to content

Commit

Permalink
Deploying to gh-pages from @ e882c8b 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
Marieke-DIVD committed May 29, 2024
1 parent 4bd4680 commit 0abb7ac
Show file tree
Hide file tree
Showing 3 changed files with 378 additions and 9 deletions.
129 changes: 126 additions & 3 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,59 @@ collections:

- name: "faq"
label: "FAQ"
file: "content/faq/_index.md"
files:
- label: "Fixed FAQ"
name: "fixedfaq"
file: "content/faq/_index.en.md"
slug: "_index"
create: false
fields:
- label: "Title"
name: "title"
widget: "string"
default: "faq"
i18n: true
- label: "Opener"
name: "opener"
widget: "string"
i18n: true
- label: "Intro"
name: "intro"
widget: "text"
i18n: true
- label: "FAQ groups"
name: "faqgroups"
widget: list
i18n: true
fields:
- { label: "heading", name: "heading", widget: "string", i18n: true }
- {
label: "FAQs",
name: "faqs",
widget: list,
i18n: true,
fields:
[
{
label: "Title",
name: "title",
widget: "string",
i18n: true,
},
{
label: "Description",
name: "description",
widget: "markdown",
i18n: true,
},
],
}

- name: "dynamicfaq"
label: "Dynamic FAQ"
folder: "content/faq"
slug: "_index"
create: false
create: true
slug: "{{slug}}"
i18n: true
fields:
- label: "Title"
Expand All @@ -161,6 +210,14 @@ collections:
name: "intro"
widget: "text"
i18n: true
- label: "Button text"
name: "button_text"
widget: "string"
i18n: true
- label: "Button url"
name: "button_url"
widget: "string"
i18n: true
- label: "FAQ groups"
name: "faqgroups"
widget: list
Expand Down Expand Up @@ -531,6 +588,72 @@ collections:
],
}
- { label: "Body", name: "body", widget: "markdown", i18n: true }
- { label: "Enable FAQ", name: "faq_enabled", widget: "boolean", default: false }
- {
label: "FAQ",
required: false,
name: "faq",
widget: "object",
collapsed: true,
fields: [
{
label: "FAQ Title",
name: "title",
widget: "string",
default: "faq",
i18n: true
},
{
label: "FAQ Opener",
name: "opener",
widget: "string",
i18n: true
},
{
label: "FAQ Intro",
name: "intro",
widget: "text",
i18n: true
},
{
label: "FAQ 'All FAQ' Url",
name: "url",
widget: "string",
i18n: true
},
{
label: "FAQ groups",
name: "faqgroups",
widget: list,
i18n: true,
fields:
[
{ label: "heading", name: "heading", widget: "string", i18n: true },
{
label: "FAQs",
name: "faqs",
widget: list,
i18n: true,
fields:
[
{
label: "Title",
name: "title",
widget: "string",
i18n: true,
},
{
label: "Description",
name: "description",
widget: "markdown",
i18n: true,
},
],
}
]
}
]
}

######################################
# SECTION: Contribute
Expand Down
129 changes: 126 additions & 3 deletions development/config-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,59 @@ collections:

- name: "faq"
label: "FAQ"
file: "content/faq/_index.md"
files:
- label: "Fixed FAQ"
name: "fixedfaq"
file: "content/faq/_index.en.md"
slug: "_index"
create: false
fields:
- label: "Title"
name: "title"
widget: "string"
default: "faq"
i18n: true
- label: "Opener"
name: "opener"
widget: "string"
i18n: true
- label: "Intro"
name: "intro"
widget: "text"
i18n: true
- label: "FAQ groups"
name: "faqgroups"
widget: list
i18n: true
fields:
- { label: "heading", name: "heading", widget: "string", i18n: true }
- {
label: "FAQs",
name: "faqs",
widget: list,
i18n: true,
fields:
[
{
label: "Title",
name: "title",
widget: "string",
i18n: true,
},
{
label: "Description",
name: "description",
widget: "markdown",
i18n: true,
},
],
}

- name: "dynamicfaq"
label: "Dynamic FAQ"
folder: "content/faq"
slug: "_index"
create: false
create: true
slug: "{{slug}}"
i18n: true
fields:
- label: "Title"
Expand All @@ -160,6 +209,14 @@ collections:
name: "intro"
widget: "text"
i18n: true
- label: "Button text"
name: "button_text"
widget: "string"
i18n: true
- label: "Button url"
name: "button_url"
widget: "string"
i18n: true
- label: "FAQ groups"
name: "faqgroups"
widget: list
Expand Down Expand Up @@ -530,6 +587,72 @@ collections:
],
}
- { label: "Body", name: "body", widget: "markdown", i18n: true }
- { label: "Enable FAQ", name: "faq_enabled", widget: "boolean", default: false }
- {
label: "FAQ",
required: false,
name: "faq",
widget: "object",
collapsed: true,
fields: [
{
label: "FAQ Title",
name: "title",
widget: "string",
default: "faq",
i18n: true
},
{
label: "FAQ Opener",
name: "opener",
widget: "string",
i18n: true
},
{
label: "FAQ Intro",
name: "intro",
widget: "text",
i18n: true
},
{
label: "FAQ 'All FAQ' Url",
name: "url",
widget: "string",
i18n: true
},
{
label: "FAQ groups",
name: "faqgroups",
widget: list,
i18n: true,
fields:
[
{ label: "heading", name: "heading", widget: "string", i18n: true },
{
label: "FAQs",
name: "faqs",
widget: list,
i18n: true,
fields:
[
{
label: "Title",
name: "title",
widget: "string",
i18n: true,
},
{
label: "Description",
name: "description",
widget: "markdown",
i18n: true,
},
],
}
]
}
]
}

######################################
# SECTION: Contribute
Expand Down
Loading

0 comments on commit 0abb7ac

Please sign in to comment.