From 3460a01f43530f8431753e2ee4631ed68d15b192 Mon Sep 17 00:00:00 2001 From: Jorge AQUINO SANCHEZ <67315354+JAs2701@users.noreply.github.com> Date: Tue, 19 Mar 2024 11:57:40 +0100 Subject: [PATCH] Update references label --- src/_layouts/references.njk | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/_layouts/references.njk b/src/_layouts/references.njk index 14bb64c..d2394e6 100644 --- a/src/_layouts/references.njk +++ b/src/_layouts/references.njk @@ -2,7 +2,13 @@ layout: sparna.njk bodyClass: page page-id-24 page-template-default --- -

{{ 'Reference' | i18n }}

+{% if locale == "fr" %} +

Nos
références

+{% endif %} + +{% if locale == "en" %} +


References

+{% endif %} {% set collectionsLocal = collections.reference | localeFilter(locale) %} {%- for reference in collectionsLocal | reverse -%} @@ -15,4 +21,4 @@ bodyClass: page page-id-24 page-template-default {{ 'Savoir' | i18n }} + -{% endfor %} \ No newline at end of file +{% endfor %}