Skip to content

Commit

Permalink
Update formations label
Browse files Browse the repository at this point in the history
  • Loading branch information
JAs2701 authored Mar 19, 2024
1 parent 3460a01 commit aa5f629
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/_layouts/formations.njk
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@
layout: sparna.njk
bodyClass: page page-id-20 page-template-default
---
<h1>{{ "Formations" | i18n }}</h1>
{% if locale == "fr" %}
<h1>Nos <br> formations</h1>
{% endif %}

{% if locale == "en" %}
<h1><br>Formations</h1>
{% endif %}


{% set collectionsLocal = collections.formation | localeFilter(locale) %}
{%- for formation in collectionsLocal | reverse -%}
<div class="formation" id="{{formation.data.title | slugify}}">
{{formation.content | safe}}
</div>
{% endfor %}
{% endfor %}

0 comments on commit aa5f629

Please sign in to comment.