<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>{% block title %}ABCM{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="/img/icones/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="https://use.typekit.net/mvl5avz.css">
{% if app.request.pathinfo("_route") starts with "/haguenau" %}
<link rel="stylesheet" href="/css/haguenau.css">
{% elseif app.request.pathinfo("_route") starts with "/saverne" %}
<link rel="stylesheet" href="/css/saverne.css">
{% else %}
<link rel="stylesheet" href="/css/global.css">
{% endif %}
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXXXXX-X"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-XXXXXXXX-X');
</script>
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
{% endblock %}
</head>
<body>
{% if app.request.pathinfo("_route") starts with "/haguenau" or app.request.pathinfo("_route") starts with "/saverne"%}
{{ render(controller('App\\Controller\\SiteController::headerEcole', {'path': app.request.pathinfo })) }}
{% else %}
{{ render(controller('App\\Controller\\SiteController::header', { 'currentPage': currentPage|default(''), 'page': page|default('') })) }}
{% endif %}
<main id="main">
{% include "site/layout/messages.twig" %}
{% block body %}
{% block content %}{% endblock %}
{% endblock %}
</main>
{% if app.request.pathinfo("_route") starts with "/haguenau" or app.request.pathinfo("_route") starts with "/saverne"%}
{% include "site/mini-site/layout/footer.html.twig" %}
{% else %}
{{ render(controller('App\\Controller\\SiteController::footer')) }}
{% endif %}
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
<script src="{{ asset('bundles/fosjsrouting/js/router.min.js') }}"></script>
<script src="{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}"></script>
{% endblock %}
</body>
</html>