From f2a622bb3a068329abef173198af5be7a9003289 Mon Sep 17 00:00:00 2001 From: Gaspard Jankowiak Date: Wed, 28 Oct 2020 09:23:50 +0100 Subject: [PATCH] better lang switcher --- _layouts/default.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index ff15dde..0dc6d5f 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -48,16 +48,16 @@
{% if page.lang == 'en' %} {% if page.fr_url == '' %} -

FR|EN

+

🇫🇷

{% else %} -

FR|EN

+

🇫🇷

{% endif %} {% include nav_en.html %} {% else %} {% if page.en_url == '' %} -

FR|EN

+

🇬🇧

{% else %} -

FR|EN

+

🇬🇧

{% endif %} {% include nav_fr.html %} {% endif %}