13 lines
812 B
Twig
13 lines
812 B
Twig
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="{{ html_charset|default('utf-8') }}">
|
|
{% if html_title is defined and html_title is not empty %}<title>{{ html_title }}</title>{% endif %}
|
|
{% if html_viewport is not defined or html_viewport is not empty %}<meta name="viewport" content="{{ html_viewport|default('width=device-width, initial-scale=1') }}">{% endif %}
|
|
{% block html_head %}{% endblock %}
|
|
{% if csrf_available() %}<meta name="csrf-token" content="{{ csrf_token() }}">{% endif %}
|
|
</head>
|
|
<body{% if html_body_attrs is defined and html_body_attrs is iterable %}{% for name, value in html_body_attrs %}{% if value is not empty %} {{ name }}="{{ value }}"{% endif %}{% endfor %}{% endif %}>
|
|
{% block html_body %}{% endblock %}
|
|
</body>
|
|
</html>
|