Skip to content

Commit

Permalink
chore: cleaning template
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudLigny committed Oct 23, 2023
1 parent b9f14fe commit d0ccf4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/page.netlify_redirects.twig
Original file line number Diff line number Diff line change
Expand Up @@ -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 -%}

0 comments on commit d0ccf4c

Please sign in to comment.