web-base/Core/Templates/base.twig
2022-11-30 23:15:52 +01:00

19 lines
582 B
Twig

<!DOCTYPE html>
<html lang="{{ user.lang }}">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="format-detection" content="telephone=yes" />
{% block head %}
<title>{{ site.title }}</title>
{% endblock %}
<script nonce="{{ site.csp.nonce }}">
window.languageCode = {{ site.language.code|json_encode()|raw }};
window.languageEntries = {{ site.language.entries|json_encode()|raw }};
</script>
</head>
<body>
{% block body %}
{% endblock %}
</body>
</html>