More RTL improvements and some style tweaks

This commit is contained in:
daudix
2024-06-18 07:52:13 +03:00
parent fbed171669
commit ee70e5fe46
11 changed files with 73 additions and 25 deletions

View File

@ -1,9 +1,9 @@
{% set rtl_langs = ["ar", "arc", "az", "dv", "ff", "he", "ku", "nqo", "fa", "rhg", "syc", "ur"] %}
<!DOCTYPE html>
<html lang="{{ lang }}">
<html {% if lang in rtl_langs %}dir="rtl"{% endif %} lang="{{ lang }}">
{% include "partials/head.html" %}
<body {% if lang in rtl_langs %}dir="rtl"{% endif %}>
<body>
{% include "partials/nav.html" %}
<div id="main" class="container">
{% block custom %}{%- endblock -%}