-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.html.twig
More file actions
43 lines (39 loc) · 1.52 KB
/
default.html.twig
File metadata and controls
43 lines (39 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!doctype html>
<html lang="{{ app.request.locale }}" data-bs-theme="{{ unchained.theme | replace({'auto': ''}) }}">
<head>
<title>{% block title %}{{ unchained.title }}{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="noindex, nofollow">
{% block meta %}{% endblock %}
{% block favicon %}
<link rel="icon" type="image/webp" href="{{ asset("build/images/favicon.webp") }}">
{% endblock %}
{# CSS #}
<link rel="stylesheet" href="{{ asset('build/app.css') }}">
{% block styles %}{% endblock %}
</head>
<body>
{% block body %}
<div id="wrapper">
{% block navigation %}
{% if unchained.navigation.style == 'side' %}
{% include '/navigation/navigation_side.html.twig' %}
{% else %}
{% include '/navigation/navigation_default.html.twig' %}
{% endif %}
{% endblock %}
{% block content_container %}
<div class="main container {{ application is defined ? application.appId : 'dashboard' }} {{ 'nav-'~unchained.navigation.style }}">
{% block content_header %}{% endblock %}
{% block content %}{% endblock %}
{% block content_footer %}{% endblock %}
</div>
{% endblock %}
</div>
{% endblock %}
{# SCRIPTS #}
<script src="{{ asset('build/app.js') }}"></script>
<script src="{{ asset('build/runtime.js') }}"></script>
{% block scripts %}{% endblock %}
</body>
</html>