Make more XHTML5 compliant in theory (fixes #31)

This commit is contained in:
daudix
2024-07-19 22:26:15 +03:00
parent 425de4235d
commit 0866d0725b
5 changed files with 11 additions and 14 deletions

View File

@ -7,10 +7,8 @@
{%- set rtl_languages = ["ar", "arc", "az", "dv", "ff", "he", "ku", "nqo", "fa", "rhg", "syc", "ur"] -%}
<!DOCTYPE html>
<html {% if lang in rtl_languages %}dir="rtl"{% endif %} lang="{{ lang }}">
<html xmlns="http://www.w3.org/1999/xhtml" {% if lang in rtl_languages %}dir="rtl"{% endif %} lang="{{ lang }}">
{% include "partials/head.html" %}
<body>
{%- if config.extra.nav.links %}
{% include "partials/nav.html" %}