update teaching

This commit is contained in:
Gaspard Jankowiak 2023-04-21 14:59:05 +02:00
commit 3c2e00f292
3 changed files with 7 additions and 3 deletions

View file

@ -52,7 +52,11 @@
<section>
<p class="switcher">
{% if page.lang == 'en' %}
<a href="{{ page.url | remove_first: '/en' }}">🇫🇷</a>
{% if page.fr_url == '' %}
<a href="{{ page.url | remove_first: '/en' }}">🇫🇷</a>
{% else %}
<a href="{{ page.fr_url }}">🇫🇷</a>
{% endif %}
<a href="/de">🇩🇪</a>
</p>