34 lines
1.7 KiB
Twig
34 lines
1.7 KiB
Twig
{% set oauth2 = oauth2 ?? false %}
|
|
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>{% block title %}MyE&P{% endblock %}</title>
|
|
<link rel="icon" href="{{ asset('build/favicon/favicon.ico') }}" sizes="32x32">
|
|
<link rel="icon" href="{{ asset('build/favicon/icon.svg') }}" type="image/svg+xml">
|
|
<link rel="apple-touch-icon" href="{{ asset('build/favicon/apple-touch-icon.png') }}">
|
|
{% if cmp_url() is not empty %}
|
|
<script>window.dataLayer = window.dataLayer || [];</script>
|
|
<script src="{{ cmp_url() }}"></script>
|
|
<script type="text/plain" data-cookiefirst-category="necessary">
|
|
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
|
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
|
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
|
})(window,document,'script','dataLayer','{{ gtm_id() }}');
|
|
</script>
|
|
{% endif %}
|
|
{% block stylesheets %}
|
|
{{ encore_entry_link_tags('app') }}
|
|
{% endblock %}
|
|
{% block javascripts %}
|
|
{{ encore_entry_script_tags('app') }}
|
|
{% endblock %}
|
|
</head>
|
|
<body class="bg-white text-gray-700 font-sans antialiased {{ booking_theme() }}"{% if not oauth2 %} hx-boost="true"{% endif %}>
|
|
{% block body %}{% endblock %}
|
|
{% block data_layer %}{% endblock %}
|
|
</body>
|
|
</html>
|