diff --git a/i18n/fr.toml b/i18n/fr.toml index 6feb502..2a60565 100644 --- a/i18n/fr.toml +++ b/i18n/fr.toml @@ -10,6 +10,13 @@ other = "tags" one = "archive" other = "archives" +[shows] +one = "spectacle" +other = "spectacles" +[movies] +one = "film" +other = "films" + [reading_time] one = "Une minute de lecture" other = "{{ .Count }} minutes de lecture" diff --git a/layouts/archives/list.html b/layouts/archives/list.html index ad45179..1e1bdec 100644 --- a/layouts/archives/list.html +++ b/layouts/archives/list.html @@ -10,15 +10,29 @@ {{ i18n "articles" | title }} +

+ {{ i18n "shows" | title }} +

{{- range .Paginator.Pages -}} - {{- .Render "li" -}} + {{ if in .Params.categories "Spectacle" }} + {{- .Render "li" -}} + {{- end -}} + {{- end -}} +
+

+ {{ i18n "movies" | title }} +

+
+ {{- range .Paginator.Pages -}} + {{ if in .Params.categories "Film" }} + {{- .Render "li" -}} + {{- end -}} {{- end -}}
{{ partial "pagination.html" . }} - {{ partial "footer.html" . }}