From 2da60ed3f21c532c68bf88acee6f300170f0cd7e Mon Sep 17 00:00:00 2001 From: GeoJulien Date: Sun, 5 Jan 2025 14:12:24 +0100 Subject: [PATCH] =?UTF-8?q?fix(seo):=20l'index=20de=20l'URL=20de=20la=20pa?= =?UTF-8?q?ge=20de=20profil=20dans=20les=20sch=C3=A9mas=20JSONLD=20=C3=A9t?= =?UTF-8?q?ait=20en=20dur=20=C3=A0=200,=20conduisant=20=C3=A0=20des=20inco?= =?UTF-8?q?h=C3=A9rences=20en=20cas=20de=20multiples=20auteurs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/theme/partials/schemas.html.jinja2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/theme/partials/schemas.html.jinja2 b/content/theme/partials/schemas.html.jinja2 index 0c9e9eebb7..c8feb6c8f6 100644 --- a/content/theme/partials/schemas.html.jinja2 +++ b/content/theme/partials/schemas.html.jinja2 @@ -28,7 +28,7 @@ { "@type": "Person", "name": "{{ a }}", - "url": "{{ config.site_url }}team/{{ author[0] | slugger }}/" + "url": "{{ config.site_url }}team/{{ author[loop.index0] | slugger }}/" {% if a != author|last %} {# Si l'auteur n'est pas le dernier de la liste, on ajoute une virgule #} },