From d0ccf4cd88f55434d6d51254bce06ccf3b28fbe6 Mon Sep 17 00:00:00 2001 From: Arnaud Ligny Date: Mon, 23 Oct 2023 18:37:38 +0200 Subject: [PATCH] chore: cleaning template --- layouts/page.netlify_redirects.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/page.netlify_redirects.twig b/layouts/page.netlify_redirects.twig index 2342bf4..25aecc6 100644 --- a/layouts/page.netlify_redirects.twig +++ b/layouts/page.netlify_redirects.twig @@ -9,8 +9,8 @@ {%- endfor ~%} {%- endif -%} {%- if site.netlify.redirect_by_language|default(false) and site.languages > 1 ~%} -# Language redirects +# Languages redirects {%- for language in site.languages|filter(l => l.code != site.language) ~%} -/ /{{ language.code }}/ 302! Language={{ language.code }} +/ /{{ language.code }}/ 302! Language={{ language.code }} {%- endfor -%} {%- endif -%} \ No newline at end of file