2022-09-26 23:06:12 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2023-10-13 19:33:34 +00:00
|
|
|
<meta charset="{{ master_charset|default('utf-8') }}">
|
|
|
|
{% if master_title is defined and master_title is not empty %}<title>{{ master_title }}</title>{% endif %}
|
|
|
|
{% block master_head %}{% endblock %}
|
|
|
|
{% if styles is defined and styles is iterable and styles is not empty %}
|
|
|
|
{% for style in styles|reverse %}
|
|
|
|
<link href="{{ style }}" type="text/css" rel="stylesheet">
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
2022-09-26 23:06:12 +00:00
|
|
|
</head>
|
2023-10-13 19:33:34 +00:00
|
|
|
<body{% if master_body_attrs is defined and master_body_attrs is not empty %}{% for name, value in master_body_attrs %}{% if value is not empty %} {{ name }}="{{ value }}"{% endif %}{% endfor %}{% endif %}>
|
|
|
|
{% block master_body %}{% endblock %}
|
|
|
|
{% if scripts is defined and scripts is iterable and scripts is not empty %}
|
|
|
|
{% for script in scripts|reverse %}
|
|
|
|
<script src="{{ script }}" charset="utf-8" type="text/javascript"></script>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
2022-09-26 23:06:12 +00:00
|
|
|
</body>
|
|
|
|
</html>
|