Skip to content

Commit

Permalink
Deploying to gh-pages from @ 2c840cb 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
ser1aa committed Dec 18, 2024
1 parent 6dc51d8 commit 729c8d9
Show file tree
Hide file tree
Showing 9 changed files with 930 additions and 259 deletions.
186 changes: 102 additions & 84 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ collections:
public_folder: "/images/",
media_folder: "/assets/images/",
required: true,
i18n: true
i18n: true,
}
- {
label: t1_alt,
Expand All @@ -92,7 +92,7 @@ collections:
public_folder: "/images/",
media_folder: "/assets/images/",
required: true,
i18n: true
i18n: true,
}
- {
label: t2_alt,
Expand All @@ -108,7 +108,7 @@ collections:
public_folder: "/images/",
media_folder: "/assets/images/",
required: true,
i18n: true
i18n: true,
}
- {
label: t3_alt,
Expand Down Expand Up @@ -171,7 +171,12 @@ collections:
widget: list
i18n: true
fields:
- { label: "heading", name: "heading", widget: "string", i18n: true }
- {
label: "heading",
name: "heading",
widget: "string",
i18n: true,
}
- {
label: "FAQs",
name: "faqs",
Expand Down Expand Up @@ -218,12 +223,10 @@ collections:
name: "button_text"
widget: "string"
i18n: true
required: false
- label: "Button url"
name: "button_url"
widget: "string"
i18n: true
required: false
- label: "FAQ groups"
name: "faqgroups"
widget: list
Expand Down Expand Up @@ -496,7 +499,12 @@ collections:
slug: "{{slug}}"
fields:
- { label: "Title", name: "title", widget: "string", i18n: true }
- { label: "Publish Date", name: "date", widget: "datetime", format: "YYYY-MM-DDTHH:mm:ssZ" }
- {
label: "Publish Date",
name: "date",
widget: "datetime",
format: "YYYY-MM-DDTHH:mm:ssZ",
}
- label: "Author(s)"
name: "author"
widget: "relation"
Expand Down Expand Up @@ -595,80 +603,92 @@ collections:
],
}
- { label: "Body", name: "body", widget: "markdown", i18n: true }
- { label: "Enable FAQ", name: "faq_enabled", widget: "boolean", default: false }
- {
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",
required: false,
i18n: true
},
{
label: "FAQ Opener",
name: "opener",
widget: "string",
required: false,
i18n: true
},
{
label: "FAQ Intro",
name: "intro",
widget: "text",
required: false,
i18n: true
},
{
label: "FAQ 'All FAQ' Url",
name: "url",
widget: "string",
required: false,
i18n: true
},
{
label: "FAQ groups",
name: "faqgroups",
widget: list,
i18n: true,
required: false,
fields:
[
{ label: "heading", name: "heading", widget: "string", required: false, i18n: true },
{
label: "FAQs",
name: "faqs",
widget: list,
i18n: true,
required: false,
fields:
[
{
label: "Title",
name: "title",
widget: "string",
required: false,
i18n: true,
},
{
label: "Description",
name: "description",
widget: "markdown",
required: false,
i18n: true,
},
],
}
]
}
]
}
fields:
[
{
label: "FAQ Title",
name: "title",
widget: "string",
default: "faq",
required: false,
i18n: true,
},
{
label: "FAQ Opener",
name: "opener",
widget: "string",
required: false,
i18n: true,
},
{
label: "FAQ Intro",
name: "intro",
widget: "text",
required: false,
i18n: true,
},
{
label: "FAQ 'All FAQ' Url",
name: "url",
widget: "string",
required: false,
i18n: true,
},
{
label: "FAQ groups",
name: "faqgroups",
widget: list,
i18n: true,
required: false,
fields:
[
{
label: "heading",
name: "heading",
widget: "string",
required: false,
i18n: true,
},
{
label: "FAQs",
name: "faqs",
widget: list,
i18n: true,
required: false,
fields:
[
{
label: "Title",
name: "title",
widget: "string",
required: false,
i18n: true,
},
{
label: "Description",
name: "description",
widget: "markdown",
required: false,
i18n: true,
},
],
},
],
},
],
}

######################################
# SECTION: Contribute
Expand Down Expand Up @@ -831,7 +851,12 @@ collections:
name: "donations"
widget: "list"
fields:
- { label: "Date", name: "date", widget: "datetime", format: "YYYY-MM-DDTHH:mm:ssZ" }
- {
label: "Date",
name: "date",
widget: "datetime",
format: "YYYY-MM-DDTHH:mm:ssZ",
}
- label: "Amount"
name: "amount"
hint: "include currency symbol"
Expand Down Expand Up @@ -1059,12 +1084,7 @@ collections:
create: false
i18n: true
fields:
- {
label: "type",
name: "type",
widget: "hidden",
value: "codeofethics",
}
- { label: "type", name: "type", widget: "hidden", value: "codeofethics" }
- { label: "Title", name: "title", widget: "string", i18n: true }
- { label: "Body", name: "body", widget: "markdown", i18n: true }

Expand Down Expand Up @@ -1417,7 +1437,6 @@ collections:
required: false
i18n: true


######################################
# SECTION: Dictionary
####
Expand Down Expand Up @@ -1493,7 +1512,6 @@ collections:
search_fields: ["title", "case.caseid"]
value_field: "/newsroom/articles/{{slug}}"
display_fields: ["title", "case.caseid"]
required: false
multiple: true

# BLOCK: Our mission #####################################################
Expand Down
Loading

0 comments on commit 729c8d9

Please sign in to comment.