From 0806f09b4c5c7080df70372c5444861bc1ffcb2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Dufraisse?= Date: Mon, 18 Mar 2024 15:39:37 +0100 Subject: [PATCH] fix(contactTo): define emailSlug if needed --- src/members-contact.njk | 6 +++++- src/members/elias-martin-morisse.md | 1 + src/members/florent-le-saout.md | 1 + src/members/jacques-olivier-farcy.md | 1 + src/members/jaf-marchandise.md | 1 + src/members/jean-christophe-piriou.md | 1 + src/members/nelly-leflem.md | 1 + src/members/oriane-saint-cyr.md | 1 + src/members/valerie-le-merrer.md | 1 + src/members/yannick-le-duc.md | 1 + 10 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/members-contact.njk b/src/members-contact.njk index ce2c2ed..0011f45 100644 --- a/src/members-contact.njk +++ b/src/members-contact.njk @@ -26,7 +26,11 @@ permalink: '/members/{{ member.fileSlug }}/contact/' photo de {{ memberData.name }}
- {% set contactMember = member.fileSlug | replace("-",".") %} + {% if memberData.emailSlug %} + {% set contactMember = memberData.emailSlug %} + {% else %} + {% set contactMember = member.fileSlug | replace("-",".") %} + {% endif %} {% include "partials/components/contact-form.njk" %}
diff --git a/src/members/elias-martin-morisse.md b/src/members/elias-martin-morisse.md index 5689146..6ecf9cc 100644 --- a/src/members/elias-martin-morisse.md +++ b/src/members/elias-martin-morisse.md @@ -8,6 +8,7 @@ personalSite: 'https://consometers.org/' url: '/members/elias-martin-morisse' socialLinkedin: 'https://www.linkedin.com/in/elias-martin-morisse-073a3247/' socialMastodon: 'https://mamot.fr/@jaxom_kaplan' +emailSlug: 'elias.martin-morisse' tags: [numérique, coopération, gestion-projet, libre, énergie, nextcloud] location: [47.6514, -2.0839] --- diff --git a/src/members/florent-le-saout.md b/src/members/florent-le-saout.md index 73c967a..a32b547 100644 --- a/src/members/florent-le-saout.md +++ b/src/members/florent-le-saout.md @@ -9,6 +9,7 @@ socialTwitter: 'https://twitter.com/AstrolabeCae' socialLinkedin: 'https://www.linkedin.com/in/florentls/' socialMastodon: 'https://framapiaf.org/@AstrolabeCAE' url: '/members/florent-le-saout' +emailSlug: 'florent.lesaout' tags: [ linux, dev, securité, libre, embarqué, gestion-projet, sensibilisation, education-populaire, animation, yocto, bootloader, FAE, CTS, gestion-client, C++, C, kernel] location: [48.18163, -1.64052] --- diff --git a/src/members/jacques-olivier-farcy.md b/src/members/jacques-olivier-farcy.md index e9522b9..f03a986 100644 --- a/src/members/jacques-olivier-farcy.md +++ b/src/members/jacques-olivier-farcy.md @@ -9,6 +9,7 @@ socialTwitter: 'https://twitter.com/JO_Interstices' socialLinkedin: 'https://www.linkedin.com/in/jacques-olivier-farcy-3806121a2' socialMastodon: 'https://mamot.fr/@Jolivier' url: '/members/jacques-olivier-farcy' +emailSlug: 'jacques-olivier.farcy' tags: [ conseil, numérique, level-designer ,visio, libre, open-source, sculpteur ] location: [48.1113, -1.6792] --- diff --git a/src/members/jaf-marchandise.md b/src/members/jaf-marchandise.md index 56e71b1..ae995ae 100644 --- a/src/members/jaf-marchandise.md +++ b/src/members/jaf-marchandise.md @@ -5,6 +5,7 @@ positionInternal: 'Membre' date: '2023-07-01' profile: '/images/profiles/jafm-profile.jpeg' url: '/members/jaf-marchandise' +emailSlug: 'jacques-francois.marchandise' tags: [Conseil, Recherche, Prospective, Exploranum, Numérique] location: [47.70949, -3.34750] --- diff --git a/src/members/jean-christophe-piriou.md b/src/members/jean-christophe-piriou.md index 16e51dd..9e5222d 100644 --- a/src/members/jean-christophe-piriou.md +++ b/src/members/jean-christophe-piriou.md @@ -6,6 +6,7 @@ date: '2020-12-01' profile: '/images/profiles/jcp-profile.jpg' socialLinkedin: 'https://www.linkedin.com/in/piriou-jean-christophe-9bb4bb3b/' url: '/members/jean-christophe-piriou' +emailSlug: 'jean-christophe.piriou' tags: [ sig, qgis, postgre, postgis, sql, gestion-projet] location: [48.10451, -1.67977] --- diff --git a/src/members/nelly-leflem.md b/src/members/nelly-leflem.md index 9156f31..a11f70d 100644 --- a/src/members/nelly-leflem.md +++ b/src/members/nelly-leflem.md @@ -5,6 +5,7 @@ positionInternal: 'Support' date: '2023-01-01' profile: '/images/profiles/nlf-profile.jpg' url: '/members/nelly-leflem' +emailSlug: 'contact' tags: [ Comptabilité, Paie, Gestion, Tenue des comptes, Pack Libre, Silae, ExactOnline, EnDI ] location: [48.1133,-1.6837] --- diff --git a/src/members/oriane-saint-cyr.md b/src/members/oriane-saint-cyr.md index 57d00d3..fa17aa3 100644 --- a/src/members/oriane-saint-cyr.md +++ b/src/members/oriane-saint-cyr.md @@ -7,6 +7,7 @@ profile: '/images/profiles/oriane-saintcyr-profile.jpg' socialLinkedin: 'https://www.linkedin.com/in/oriane-sc/' #socialMastodon: ' url: '/members/oriane-saint-cyr' +emailSlug: 'oriane.saint-cyr' tags: [Numérique plus soutenable, Écologie, AMO, Numérique responsable, RSE, Reseau-Telecom] location: [45.648377, 0.156237] --- diff --git a/src/members/valerie-le-merrer.md b/src/members/valerie-le-merrer.md index 7c15c45..7578de2 100644 --- a/src/members/valerie-le-merrer.md +++ b/src/members/valerie-le-merrer.md @@ -6,6 +6,7 @@ date: '2023-01-20' profile: '/images/profiles/vlm-profile.jpg' socialLinkedin: 'https://www.linkedin.com/in/valerie-le-merrer/' url: '/members/valerie-le-merrer' +emailSlug: 'valerie.lemerrer' tags: [ cybersécurité, analyse de Risque, audit, conseil, sensibilisation ] location: [48.213983, -1.505285] --- diff --git a/src/members/yannick-le-duc.md b/src/members/yannick-le-duc.md index 6256873..6290296 100644 --- a/src/members/yannick-le-duc.md +++ b/src/members/yannick-le-duc.md @@ -9,6 +9,7 @@ socialTwitter: 'https://twitter.com/YLeDuc' socialLinkedin: 'https://www.linkedin.com/in/yleduc/' socialMastodon: 'https://mastodon.top/@yleduc' url: '/members/yannick-le-duc' +emailSlug: 'yannick.leduc' tags: [ dev, entreprise, intuition, développement, conseil, creation, veille, AMOA, AMOE ] location: [48.118, -1.6858] ---