Skip to content

Commit

Permalink
replaces custom homepage paragraphs with generic
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaskundig committed Jun 30, 2021
1 parent f2eeb32 commit 8253de8
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 70 deletions.
22 changes: 2 additions & 20 deletions conf/netlify/cms/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,26 +182,8 @@ collections:
- { label: Lead image , name: lead_image, required: false, widget: image, i18n: true }
- { label: "Lead image caption", name: lead_image_caption, required: false, i18n: true,
widget: markdown, buttons: [bold, italic, link], editor_components: [], minimal: true }
- { label: "Paragraph 1 title", name: paragraph1_title, required: false, i18n: true,
- { label: "Paragraphs title", name: paragraphs_title, required: false, i18n: true,
widget: markdown, buttons: [bold, italic, link], editor_components: [], minimal: true}
# community: remove when migrated to paragraphs
- { label: "Community title", name: community_title, required: false, i18n: true,
widget: markdown, buttons: [bold, italic, link], editor_components: [], minimal: true}
- { label: "Community description", name: community_description, required: false, widget: markdown, i18n: true }
- { label: "Community link text", name: community_link_text, required: false, widget: string, i18n: true }
# end of community
# mission: remove when migrated to paragraphs
- { label: "Mission title", name: mission_title, required: false, i18n: true,
widget: markdown, buttons: [bold, italic, link], editor_components: [], minimal: true}
- { label: "Mission description", name: mission_description, required: false, widget: markdown, i18n: true }
- { label: "Mission link text", name: mission_link_text, required: false, widget: string, i18n: true }
# end of mission
# partners: remove when migrated to paragraphs
- { label: "Partners title", name: partners_title, required: false, i18n: true,
widget: markdown, buttons: [bold, italic, link], editor_components: [], minimal: true}
- { label: "Partners description", name: partners_description, required: false, widget: markdown, i18n: true }
- { label: "Partners link text", name: partners_link_text, required: false, widget: string, i18n: true }
# end of partners
- label: "Paragraphs"
name: "paragraphs"
widget: "list"
Expand All @@ -212,7 +194,7 @@ collections:
- { label: "Description", name: description, required: false, widget: markdown, i18n: true }
- { label: "Link text", name: link_text, required: false, widget: string, i18n: true }
- { label: Link, name: url, required: false, widget: file, i18n: true,
hint: 'Write a relative url if you link to another page on this website. (for example "partners", not "/partners")'}
hint: 'Write a relative url if you link to another page on this website. (for example "partners/", not "/partners/")'}
- { label: "Colored button", name: primary_button, required: false, widget: boolean, i18n: true }

- { label: "News title", name: news_title, required: false, i18n: true,
Expand Down
2 changes: 1 addition & 1 deletion src/site/_layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
the code to `home/en/index.html` and `home/fr/index.html`
#}
<section id="purpose">
<h1>{% inlineMarkdown paragraph1_title %}</h1>
<h1>{% inlineMarkdown paragraphs_title %}</h1>
<div class="grid-layout-halves with-gutters">
{% if community_title %}
<div class="grid-cell">
Expand Down
54 changes: 29 additions & 25 deletions src/site/home/en/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,37 @@ lead: The community of **‹SITE-TITLE›**
lead_image: /assets/media/home-hero-image.jpg
lead_image_caption: Photo by [Mary Eineman](https://unsplash.com/@maryeineman)
on [Unsplash](https://unsplash.com/photos/sQtGjRSOyGk)
paragraph1_title: We define a new relationship to data
community_title: We are a collective of users
community_description: "‹SITE-TITLE› is you and me: app users and
people keen to understand privacy in relationships formed online. The
collective is worried about the way our intimate life is being coded and
exposed online. We aim to retake control of personal data on apps,
understand the privacy problems they create, and work to improve data
literacy."
community_link_text: Join us
mission_title: We work to understand what's being done
mission_description: >-
We want to understand many privacy risks that we, as app users, are
confronted with when looking for a date online: unwanted ads, discrimination
resulting from data, incorrect profiling and predictions, and the possibility
of phishing and identity theft by rogue users.
paragraphs_title: We define a new relationship to data
paragraphs:
- title: We are a collective of users
description: "Dating Privacy is you and me: dating app users and
people keen to understand privacy in relationships formed online. The
collective is worried about the way our intimate life is being coded and
exposed online. We aim to retake control of personal data on dating apps,
understand the privacy problems they create, and work to improve data
literacy."
link_text: Join us
url: community/
- title: We work to understand what's being done
description: >-
We want to understand many privacy risks that we, as dating app users, are
confronted with when looking for a date online: unwanted ads, discrimination
resulting from data, incorrect profiling and predictions, and the possibility
of phishing and identity theft by rogue users.
Our ultimate goal is to bring together users and privacy enthusiasts to push for a paradigm shift.
link_text: Learn more
url: mission/
- title: We connect with many partners
description: >-
We are looking to collaborate with journalists, academics, researchers,
activists and NGOs in data protection and other related themes.
Our ultimate goal is to bring together users and privacy enthusiasts to push for a paradigm shift.
mission_link_text: Learn more
partners_title: We connect with many partners
partners_description: >-
We are looking to collaborate with journalists, academics, researchers,
activists and NGOs in data protection and other related themes.
We push ideas for better user and company practices to control personal data and date safely online. We are particularly interested in raising awareness, as well as building methodological protocols and privacy tools for data protection and literacy.
partners_link_text: Contact us
We push ideas for better user and company practices to control personal data and date safely online. We are particularly interested in raising awareness, as well as building methodological protocols and privacy tools for data protection and literacy.
link_text: Contact us
url: partners/
news_title: News and events
news:
- type: infographic
Expand Down
53 changes: 29 additions & 24 deletions src/site/home/fr/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,38 @@ lead: The community of **‹SITE-TITLE›**
lead_image: /assets/media/home-hero-image.jpg
lead_image_caption: Photo by [Mary Eineman](https://unsplash.com/@maryeineman)
on [Unsplash](https://unsplash.com/photos/sQtGjRSOyGk)
paragraph1_title: We define a new relationship to data
community_title: We are a collective of users
community_description: "‹SITE-TITLE› is you and me: app users and
people keen to understand privacy in relationships formed online. The
collective is worried about the way our intimate life is being coded and
exposed online. We aim to retake control of personal data on apps,
understand the privacy problems they create, and work to improve data
literacy."
community_link_text: Join us
mission_title: We work to understand what's being done
mission_description: >-
We want to understand many privacy risks that we, as app users, are
confronted with when looking for a date online: unwanted ads, discrimination
resulting from data, incorrect profiling and predictions, and the possibility
of phishing and identity theft by rogue users.
paragraphs_title: We define a new relationship to data
paragraphs:
- title: We are a collective of users
description: "Dating Privacy is you and me: dating app users and
people keen to understand privacy in relationships formed online. The
collective is worried about the way our intimate life is being coded and
exposed online. We aim to retake control of personal data on dating apps,
understand the privacy problems they create, and work to improve data
literacy."
link_text: Join us
url: community/
- title: We work to understand what's being done
description: >-
We want to understand many privacy risks that we, as dating app users, are
confronted with when looking for a date online: unwanted ads, discrimination
resulting from data, incorrect profiling and predictions, and the possibility
of phishing and identity theft by rogue users.
Our ultimate goal is to bring together users and privacy enthusiasts to push for a paradigm shift.
link_text: Learn more
url: mission/
- title: We connect with many partners
description: >-
We are looking to collaborate with journalists, academics, researchers,
activists and NGOs in data protection and other related themes.
Our ultimate goal is to bring together users and privacy enthusiasts to push for a paradigm shift.
mission_link_text: Learn more
partners_title: We connect with many partners
partners_description: >-
We are looking to collaborate with journalists, academics, researchers,
activists and NGOs in data protection and other related themes.
We push ideas for better user and company practices to control personal data and date safely online. We are particularly interested in raising awareness, as well as building methodological protocols and privacy tools for data protection and literacy.
link_text: Contact us
url: partners/

We push ideas for better user and company practices to control personal data and date safely online. We are particularly interested in raising awareness, as well as building methodological protocols and privacy tools for data protection and literacy.
partners_link_text: Contact us
news_title: News and events
news:
- type: infographic
Expand Down

0 comments on commit 8253de8

Please sign in to comment.