From 1d55a2963d2b930ebf9cfd392f1cdbc5419b6990 Mon Sep 17 00:00:00 2001 From: Mohammed Alotaibi Date: Fri, 9 Feb 2024 23:36:47 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(i18n):=20add=20Right-to-left?= =?UTF-8?q?=20script=20support=20(#262)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: welpo --- templates/base.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/base.html b/templates/base.html index 9711e99..679d975 100644 --- a/templates/base.html +++ b/templates/base.html @@ -13,6 +13,7 @@ This variable will hold all the text strings for the language #} {%- if not language_strings -%} {%- set language_strings = load_data(path="themes/tabi/i18n/" ~ lang ~ ".toml", required=false) -%} {%- endif -%} +{% set rtl_languages = ["ar", "arc", "az", "dv", "ff", "he", "ku", "nqo", "fa", "rhg", "syc", "ur"] %} @@ -22,7 +23,7 @@ This variable will hold all the text strings for the language #} {% include "partials/header.html" %} - + {% include "partials/nav.html" %}