Skip to content

Commit 494db43

Browse files
author
Chris Mann
committed
Language Code Correction
1 parent d39a8ba commit 494db43

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

gdvoisins/templates/gdvoisins/fragments/main_menu_lang.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
{% if page %}
1212
<li>
1313
<a class="w-full btn btn-sm btn-block btn-ghost justify-start"
14-
hreflang="{{ current_lang.code|lower }}"
15-
lang="{{ current_lang.code|lower }}"
14+
hreflang="{{ LANGUAGE_CODE|lower }}"
15+
lang="{{ LANGUAGE_CODE|lower }}"
1616
href="{% pageurl page %}"
17-
aria-current="true">{{ current_lang.code|upper }}</a>
17+
aria-current="true">{{ LANGUAGE_CODE|upper }}</a>
1818
</li>
1919
{% for translation in page.get_translations.live %}
2020
<li>

0 commit comments

Comments
 (0)