diff --git a/_includes/scripts.html b/_includes/scripts.html index 7b27d81f9..a242f8e10 100644 --- a/_includes/scripts.html +++ b/_includes/scripts.html @@ -11,8 +11,14 @@ {% endif %} -{% if site.search == true or page.layout == 'search' %} +{% if site.search == true or page.layout == "search" %} {% assign lang = site.locale | slice: 0,2 | default: "en" %} + {% case lang %} + {% when "gr" %} + {% assign lang = "gr" %} + {% else %} + {% assign lang = "en" %} + {% endcase %} {% endif %}