Skip to content

Commit

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

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

{% set collectionsLocal = collections.reference | localeFilter(locale) %}
{%- for reference in collectionsLocal | reverse -%}
Expand All @@ -15,4 +21,4 @@ bodyClass: page page-id-24 page-template-default
<a href="{{ reference.page.url | relative(page) }}" title="{{reference.data.title}}" class="plus">{{ 'Savoir' | i18n }} +</a>
</div>
</div>
{% endfor %}
{% endfor %}

0 comments on commit 3460a01

Please sign in to comment.