Skip to content
Snippets Groups Projects
Unverified Commit 6c67f733 authored by Olivia Simonet's avatar Olivia Simonet Committed by GitHub
Browse files

Ajout des traductions pour les signatures (#737)


Co-authored-by: default avatarAlexis BENOIT <alex@noesya.coop>
parent 18d855cf
No related branches found
Tags v7.3.11
No related merge requests found
......@@ -273,6 +273,10 @@ persons:
projects: Projects mentioning
posts:
author: Author
authors:
label: "Authors"
a11y_title: Authors of this article
more: More information
category:
one: Category
other: Categories
......
......@@ -257,6 +257,10 @@ persons:
projects: Projetos mencionando
posts:
author: Autor/a
authors:
label: Autoras/es
a11y_title: Autores, autoras deste artigo
more: Mais informações
category:
one: Categoria
other: Categorias
......
......@@ -3,9 +3,7 @@
<div class="block-content">
<ul class="signatures" aria-label="{{ i18n "posts.authors.a11y_title" }}">
{{ range .GetTerms "authors" }}
{{ $personId := .Params.hugo.slug }}
{{ $person := site.GetPage (printf "persons/%s" $personId)}}
{{ $person := site.GetPage (printf "persons/%s" .Slug) }}
<li>
<div class="author-content">
<a href="{{ .Permalink }}" itemprop="url">
......@@ -17,7 +15,7 @@
{{ if and $person $person.Params.image }}
<div class="avatar">
{{ partial "commons/image.html" (dict
"image" $person.Params.image
"image" $person.Params.image
)}}
</div>
{{ end }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment