streamlined how multilingual support works

This commit is contained in:
Speyll
2023-11-08 00:19:50 +01:00
parent ccbee0ef42
commit ed97e270b8
5 changed files with 42 additions and 81 deletions

View File

@@ -1,19 +1,18 @@
<!doctype html>
<html lang="{{ lang }}">
<head>
<!DOCTYPE html>
<html lang="{% if page %}{{ page.lang }}{% else %}{{ config.default_language }}{% endif %}">
<head>
{% include "head.html" %}
</head>
<body>
<div class="wrapper">
<header>
</head>
<body>
<header>
{% include "header.html" %}
</header>
<main>
{% block content %}{% endblock content %}
</main>
<footer>
</header>
<main>
{% block content %}
{% endblock content %}
</main>
<footer>
{% include "footer.html" %}
</footer>
</div>
</body>
</html>
</footer>
</body>
</html>