From cbe1ce662634b6050379b6d2ecb5aa92e1d63ffc Mon Sep 17 00:00:00 2001 From: kevin Date: Mon, 18 Mar 2024 13:10:30 +0100 Subject: [PATCH] fix(seo): avoid redirect to uncrawl pages without trailing slash --- src/_includes/layouts/member.njk | 4 ++-- src/_includes/layouts/post.njk | 2 +- src/_includes/layouts/posts-events.njk | 6 +++--- src/_includes/layouts/posts-news.njk | 6 +++--- src/_includes/layouts/posts.njk | 6 +++--- src/_includes/layouts/team.njk | 2 +- src/_includes/partials/components/intro.njk | 6 +++--- src/_includes/partials/components/map.njk | 2 +- src/_includes/partials/components/member-list-simple.njk | 2 +- src/_includes/partials/components/member-list.njk | 4 ++-- src/_includes/partials/components/posts-list-home.njk | 2 +- src/_includes/partials/components/presentation.njk | 6 +++--- src/_includes/partials/global/site-foot.njk | 4 ++-- src/team-skills.njk | 4 ++-- 14 files changed, 28 insertions(+), 28 deletions(-) diff --git a/src/_includes/layouts/member.njk b/src/_includes/layouts/member.njk index 47dbf02..2f19950 100644 --- a/src/_includes/layouts/member.njk +++ b/src/_includes/layouts/member.njk @@ -42,7 +42,7 @@ @@ -50,7 +50,7 @@ - Voir tous les membres + Voir tous les membres {% include "partials/components/contact-form.njk" %} diff --git a/src/_includes/layouts/post.njk b/src/_includes/layouts/post.njk index 721b87c..209b61d 100644 --- a/src/_includes/layouts/post.njk +++ b/src/_includes/layouts/post.njk @@ -12,7 +12,7 @@ illustration de l'article {% endif %} {{ content | safe }} - Voir toute l'actualité + Voir toute l'actualité {% include "partials/components/contact-form.njk" %} diff --git a/src/_includes/layouts/posts-events.njk b/src/_includes/layouts/posts-events.njk index 987ec5e..bad3906 100644 --- a/src/_includes/layouts/posts-events.njk +++ b/src/_includes/layouts/posts-events.njk @@ -8,13 +8,13 @@

{{ pageHeading }}

diff --git a/src/_includes/layouts/posts-news.njk b/src/_includes/layouts/posts-news.njk index 58073e3..bd9798f 100644 --- a/src/_includes/layouts/posts-news.njk +++ b/src/_includes/layouts/posts-news.njk @@ -8,13 +8,13 @@

{{ pageHeading }}

diff --git a/src/_includes/layouts/posts.njk b/src/_includes/layouts/posts.njk index 710800e..c114f26 100644 --- a/src/_includes/layouts/posts.njk +++ b/src/_includes/layouts/posts.njk @@ -8,13 +8,13 @@

{{ pageHeading }}

diff --git a/src/_includes/layouts/team.njk b/src/_includes/layouts/team.njk index 7c8b013..c82829d 100644 --- a/src/_includes/layouts/team.njk +++ b/src/_includes/layouts/team.njk @@ -13,7 +13,7 @@ diff --git a/src/_includes/partials/components/intro.njk b/src/_includes/partials/components/intro.njk index f305d52..50e7b01 100644 --- a/src/_includes/partials/components/intro.njk +++ b/src/_includes/partials/components/intro.njk @@ -3,11 +3,11 @@

{{ brandHeading }}

- Une CAE c'est quoi ? - Nous rejoindre + Une CAE c'est quoi ? + Nous rejoindre - Notre flyer 📄 + Notre flyer 📄
diff --git a/src/_includes/partials/components/map.njk b/src/_includes/partials/components/map.njk index fd1ba7d..bb27b44 100644 --- a/src/_includes/partials/components/map.njk +++ b/src/_includes/partials/components/map.njk @@ -30,7 +30,7 @@ var members = {{ collections.membersLocations | dump | safe }}; var markerGroup = members.map( member => { - return new L.marker(member.location, {icon: iconMarker}).bindPopup(''+member.name+''); + return new L.marker(member.location, {icon: iconMarker}).bindPopup(''+member.name+''); }); var markerSiege = L.marker([48.10494125597395, -1.6795760019626425], {icon: iconMarkerAlt}).bindPopup('Siège Astrolabe CAE') diff --git a/src/_includes/partials/components/member-list-simple.njk b/src/_includes/partials/components/member-list-simple.njk index 32e332f..116e562 100644 --- a/src/_includes/partials/components/member-list-simple.njk +++ b/src/_includes/partials/components/member-list-simple.njk @@ -4,7 +4,7 @@
    {% for item in teamListItems %}
  1. - + photo de {{ item.data.name }} {{ item.data.name }} diff --git a/src/_includes/partials/components/member-list.njk b/src/_includes/partials/components/member-list.njk index ccb52de..aa0ed40 100644 --- a/src/_includes/partials/components/member-list.njk +++ b/src/_includes/partials/components/member-list.njk @@ -4,7 +4,7 @@
      {% for item in teamListItems %}
    1. - + photo de {{ item.data.name }} {{ item.data.name }} @@ -16,7 +16,7 @@ {% endfor %}
    2. Vous êtes porteur d’un projet entrepreneurial en numérique et nouvelles technologies ?

      - Rejoignez-nous + Rejoignez-nous
    {% endif %} diff --git a/src/_includes/partials/components/posts-list-home.njk b/src/_includes/partials/components/posts-list-home.njk index 023f9c0..410c8e3 100644 --- a/src/_includes/partials/components/posts-list-home.njk +++ b/src/_includes/partials/components/posts-list-home.njk @@ -4,7 +4,7 @@

    {{ newsListHeading }}

    {% include "partials/components/posts-list.njk" %} - Voir tout + Voir tout
    diff --git a/src/_includes/partials/components/presentation.njk b/src/_includes/partials/components/presentation.njk index cc61b5d..5589f43 100644 --- a/src/_includes/partials/components/presentation.njk +++ b/src/_includes/partials/components/presentation.njk @@ -14,7 +14,7 @@ {#
    #} équipage astrolabe {#
    #} - Nous rejoindre + Nous rejoindre @@ -47,13 +47,13 @@
      {% for profile in profilePics %}
    • - + photo de {{ profile.data.name }}
    • {% endfor %}
    - Voir l'équipe + Voir l'équipe diff --git a/src/_includes/partials/global/site-foot.njk b/src/_includes/partials/global/site-foot.njk index 80c3582..4e9f802 100644 --- a/src/_includes/partials/global/site-foot.njk +++ b/src/_includes/partials/global/site-foot.njk @@ -10,8 +10,8 @@

    -

    Mentions légales

    -

    Protection des données

    +

    Mentions légales

    +

    Protection des données

    Contact

    diff --git a/src/team-skills.njk b/src/team-skills.njk index f707050..9b67c2c 100644 --- a/src/team-skills.njk +++ b/src/team-skills.njk @@ -25,12 +25,12 @@ permalink: /equipe/{{ tag }}/

    Profils avec le mot-clé :

    {{ tag }} - tout + tout
    {% include "partials/components/member-list-simple.njk" %} {% include "partials/components/map.njk" %} {% include "partials/components/contact-form.njk" %}