Skip to content

Commit

Permalink
Integration of WEBSITE.TEMPLATE changes from v1.0 to 1.1 (hestiaAI#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
olange committed Jun 12, 2021
2 parents 562bb75 + 2951568 commit 986f203
Show file tree
Hide file tree
Showing 15 changed files with 771 additions and 201 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@
# How-to?

* [Get access rights](https://github.com/hestiaAI/website.docs/tree/main/website-access-rights)_would you need _editorial access_ to the website contents; or to _administer_ our Netlify deployment & hosting infrastructure_
* [Setup your dev environment](https://github.com/hestiaAI/website.docs/tree/main/website-dev-setup)_develop features of the website, install prequisite tools and dependencies and start the dev server_
* [Execute the dev, build and deployment sequences](https://github.com/hestiaAI/website.docs/tree/main/website-execution)_understand the execution modes, environments and how-to execute the dev, build and deployment sequences_
* [Contribute to codebase](https://github.com/hestiaAI/website.docs/tree/main/website-contrib)_Design decisions you should know about and how-to submit code changes_
* [Contribute to codebase](https://github.com/hestiaAI/website.docs/tree/main/website-contrib)_design decisions you should know about and how-to submit code changes_

# Repository contents

Expand Down
293 changes: 157 additions & 136 deletions conf/netlify/cms/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,42 +170,48 @@ collections:
- { label: "Partners link text", name: partners_link_text, required: false, widget: string, i18n: true }
- { label: "News title", name: news_title, required: false, i18n: true,
widget: markdown, buttons: [bold, italic, link], editor_components: [], minimal: true}
- label: "News editorials"
name: "news_editorials"
- label: "News"
name: "news"
widget: "list"
i18n: true
field:
name: "Editorial"
widget: relation
collection: editorials
value_field: "id"
display_fields: ["title"]
multiple: false
search_fields: ["title", "body"]
- label: "News interviews"
name: "news_interviews"
widget: "list"
i18n: true
field:
name: "Interview"
widget: relation
collection: interviews
value_field: "id"
display_fields: ["title"]
multiple: false
search_fields: ["title", "body"]
- label: "News infographics"
name: "news_infographics"
widget: "list"
i18n: true
field:
name: "Infographic"
widget: relation
collection: infographics
value_field: "id"
display_fields: ["title"]
multiple: false
search_fields: ["title", "body"]
max: 3
types:
- label: "Editorial"
name: "editorial"
summary: '{{fields.editorial}}'
fields:
- label: Editorial
name: "editorial"
widget: relation
collection: editorials
value_field: "id"
display_fields: ["title"]
multiple: false
search_fields: ["title", "body"]
- label: "Interview"
name: "interview"
summary: '{{fields.interview}}'
fields:
- label: Interview
name: "interview"
widget: relation
collection: interviews
value_field: "id"
display_fields: ["title"]
multiple: false
search_fields: ["title", "body"]
- label: "Infographic"
name: "infographic"
summary: '{{fields.infographic}}'
fields:
- label: Infographic
name: "infographic"
widget: relation
collection: infographics
value_field: "id"
display_fields: ["title"]
multiple: false
search_fields: ["title", "body"]

- label: Community
name: community
Expand Down Expand Up @@ -460,42 +466,47 @@ collections:
value_field: "id"
multiple: true
search_fields: ["name", "id", "description"]
- label: "Suggested editorials"
name: "suggested_editorials"
- label: "Suggested"
name: "suggested"
widget: "list"
i18n: true
field:
name: "Editorial"
widget: relation
collection: editorials
value_field: "id"
display_fields: ["title"]
multiple: false
search_fields: ["title", "body"]
- label: "Suggested interviews"
name: "suggested_interviews"
widget: "list"
i18n: true
field:
name: "Interview"
widget: relation
collection: interviews
value_field: "id"
display_fields: ["title"]
multiple: false
search_fields: ["title", "body"]
- label: "Suggested infographics"
name: "suggested_infographics"
widget: "list"
i18n: true
field:
name: "Infographic"
widget: relation
collection: infographics
value_field: "id"
display_fields: ["title"]
multiple: false
search_fields: ["title", "body"]
types:
- label: "Editorial"
name: "editorial"
summary: '{{fields.editorial}}'
fields:
- label: Editorial
name: "editorial"
widget: relation
collection: editorials
value_field: "id"
display_fields: ["title"]
multiple: false
search_fields: ["title", "body"]
- label: "Interview"
name: "interview"
summary: '{{fields.interview}}'
fields:
- label: Interview
name: "interview"
widget: relation
collection: interviews
value_field: "id"
display_fields: ["title"]
multiple: false
search_fields: ["title", "body"]
- label: "Infographic"
name: "infographic"
summary: '{{fields.infographic}}'
fields:
- label: Infographic
name: "infographic"
widget: relation
collection: infographics
value_field: "id"
display_fields: ["title"]
multiple: false
search_fields: ["title", "body"]
- { label: "Show social media sharing", name: show_social_sharing, required: false, widget: boolean, i18n: true }

- label: Blog › Interviews
Expand Down Expand Up @@ -534,42 +545,47 @@ collections:
value_field: "id"
multiple: true
search_fields: ["name", "id", "description"]
- label: "Suggested editorials"
name: "suggested_editorials"
- label: "Suggested"
name: "suggested"
widget: "list"
i18n: true
field:
name: "Editorial"
widget: relation
collection: editorials
value_field: "id"
display_fields: ["title"]
multiple: false
search_fields: ["title", "body"]
- label: "Suggested interviews"
name: "suggested_interviews"
widget: "list"
i18n: true
field:
name: "Interview"
widget: relation
collection: interviews
value_field: "id"
display_fields: ["title"]
multiple: false
search_fields: ["title", "body"]
- label: "Suggested infographics"
name: "suggested_infographics"
widget: "list"
i18n: true
field:
name: "Infographic"
widget: relation
collection: infographics
value_field: "id"
display_fields: ["title"]
multiple: false
search_fields: ["title", "body"]
types:
- label: "Editorial"
name: "editorial"
summary: '{{fields.editorial}}'
fields:
- label: Editorial
name: "editorial"
widget: relation
collection: editorials
value_field: "id"
display_fields: ["title"]
multiple: false
search_fields: ["title", "body"]
- label: "Interview"
name: "interview"
summary: '{{fields.interview}}'
fields:
- label: Interview
name: "interview"
widget: relation
collection: interviews
value_field: "id"
display_fields: ["title"]
multiple: false
search_fields: ["title", "body"]
- label: "Infographic"
name: "infographic"
summary: '{{fields.infographic}}'
fields:
- label: Infographic
name: "infographic"
widget: relation
collection: infographics
value_field: "id"
display_fields: ["title"]
multiple: false
search_fields: ["title", "body"]
- { label: "Show social media sharing", name: show_social_sharing, required: false, widget: boolean, i18n: true }

- label: Blog › Infographics
Expand Down Expand Up @@ -607,42 +623,47 @@ collections:
value_field: "id"
multiple: true
search_fields: ["name", "id", "description"]
- label: "Suggested editorials"
name: "suggested_editorials"
- label: "Suggested"
name: "suggested"
widget: "list"
i18n: true
field:
name: "Editorial"
widget: relation
collection: editorials
value_field: "id"
display_fields: ["title"]
multiple: false
search_fields: ["title", "body"]
- label: "Suggested interviews"
name: "suggested_interviews"
widget: "list"
i18n: true
field:
name: "Interview"
widget: relation
collection: interviews
value_field: "id"
display_fields: ["title"]
multiple: false
search_fields: ["title", "body"]
- label: "Suggested infographics"
name: "suggested_infographics"
widget: "list"
i18n: true
field:
name: "Infographic"
widget: relation
collection: infographics
value_field: "id"
display_fields: ["title"]
multiple: false
search_fields: ["title", "body"]
types:
- label: "Editorial"
name: "editorial"
summary: '{{fields.editorial}}'
fields:
- label: Editorial
name: "editorial"
widget: relation
collection: editorials
value_field: "id"
display_fields: ["title"]
multiple: false
search_fields: ["title", "body"]
- label: "Interview"
name: "interview"
summary: '{{fields.interview}}'
fields:
- label: Interview
name: "interview"
widget: relation
collection: interviews
value_field: "id"
display_fields: ["title"]
multiple: false
search_fields: ["title", "body"]
- label: "Infographic"
name: "infographic"
summary: '{{fields.infographic}}'
fields:
- label: Infographic
name: "infographic"
widget: relation
collection: infographics
value_field: "id"
display_fields: ["title"]
multiple: false
search_fields: ["title", "body"]
- { label: "Show social media sharing", name: show_social_sharing, required: false, widget: boolean, i18n: true }

- label: Blog › Categories
Expand Down
Loading

0 comments on commit 986f203

Please sign in to comment.