Skip to content

Commit

Permalink
fix(seo): l'index de l'URL de la page de profil dans les schémas JSON…
Browse files Browse the repository at this point in the history
…LD était en dur à 0, conduisant à des incohérences en cas de multiples auteurs
  • Loading branch information
Guts committed Jan 5, 2025
1 parent db54380 commit 2da60ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/theme/partials/schemas.html.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -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 #}
},
Expand Down

0 comments on commit 2da60ed

Please sign in to comment.