mirror of
https://github.com/welpo/tabi.git
synced 2026-02-16 08:07:19 +01:00
♻️ refactor: use set, add spacing and rename variable
This commit is contained in:
parent
d921d3af01
commit
1d950d34e3
1 changed files with 2 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ This variable will hold all the text strings for the language #}
|
||||||
{%- if not language_strings -%}
|
{%- if not language_strings -%}
|
||||||
{%- set language_strings = load_data(path="themes/tabi/i18n/" ~ lang ~ ".toml", required=false) -%}
|
{%- set language_strings = load_data(path="themes/tabi/i18n/" ~ lang ~ ".toml", required=false) -%}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{% set_global rtl_langs = ["ar","arc","az","dv","ff","he","ku","nqo","fa","rhg","syc","ur"] %}
|
{% set rtl_languages = ["ar", "arc", "az", "dv", "ff", "he", "ku", "nqo", "fa", "rhg", "syc", "ur"] %}
|
||||||
|
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
|
@ -23,7 +23,7 @@ This variable will hold all the text strings for the language #}
|
||||||
|
|
||||||
{% include "partials/header.html" %}
|
{% include "partials/header.html" %}
|
||||||
|
|
||||||
<body {% if lang in rtl_langs %} dir="rtl" {% endif %}>
|
<body{% if lang in rtl_languages %} dir="rtl"{% endif %}>
|
||||||
{% include "partials/nav.html" %}
|
{% include "partials/nav.html" %}
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue