Files
blog/templates/base.html
daudix 7bb9b19e77 Make previous commit actually work
This is a huge mess, Zola is really not i18n-friendly
2024-06-16 04:57:51 +03:00

15 lines
425 B
HTML

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