<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta content="width=device-width, initial-scale=1" name="viewport">
<link rel="icon" href="{{ asset('app-icons/favicon.ico') }}" />
<title>{% block meta_title %}{% endblock %} | Citizens</title>
<meta name="title" content="{{ block('meta_title') }} | Citizens">
<meta name="description" content="{% block meta_description %}{% endblock %}">
{% if app_env == 'prod' %}
<meta name="robots" content="{% block meta_robots %}index,follow{% endblock %}">
{% else %}
<meta name="robots" content="noindex,nofollow">
{% endif %}
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://www.colocalyon.fr">
<meta property="og:title" content="Citizens">
<meta property="og:description" content="Citizens">
<meta property="og:image" content="https://www.colocalyon.fr/app-icons/share.jpg" />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://www.colocalyon.fr">
<meta property="twitter:title" content="Citizens">
<meta property="twitter:description" content="Citizens">
<meta property="twitter:image" content="https://www.colocalyon.fr/app-icons/share.jpg">
<!-- RGPD -->
<script type="text/javascript" src="/js/tarteaucitronjs/tarteaucitron.js"></script>
<script type="text/javascript">
window.tarteaucitronForceLanguage = "fr";
tarteaucitron.user.googletagmanagerId = '{{ google_analytics_id }}';
// google tag manager
tarteaucitron.services.googletagmanager = {
"key": "googletagmanager",
"type": "api",
"name": "Google Tag Manager",
"uri": "https://policies.google.com/privacy",
"needConsent": true,
"cookies": ['_ga', '_gat', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', '__gads', '_drt_', 'FLC', 'exchange_uid', 'id', 'fc', 'rrs', 'rds', 'rv', 'uid', 'UIDR', 'UID', 'clid', 'ipinfo', 'acs'],
"js": function () {
"use strict";
if (tarteaucitron.user.googletagmanagerId === undefined) {
return;
}
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
'gtm.start': new Date().getTime(),
event: 'gtm.js'
});
tarteaucitron.addScript('https://www.googletagmanager.com/gtm.js?id=' + tarteaucitron.user.googletagmanagerId);
}
};
(tarteaucitron.job = tarteaucitron.job || []).push('googletagmanager');
tarteaucitron.init({
"privacyUrl": "{{ path('front_page_privacy') }}",
"hashtag": "#tarteaucitron", /* Open the panel with this hashtag */
"cookieName": "tarteaucitron", /* Cookie name */
"orientation": "bottom", /* Banner position (top - bottom) */
"showAlertSmall": false, /* Show the small banner on bottom right */
"cookieslist": true, /* Show the cookie list */
"adblocker": false, /* Show a Warning if an adblocker is detected */
"AcceptAllCta" : true, /* Show the accept all button when highPrivacy on */
"highPrivacy": true, /* Disable auto consent */
"handleBrowserDNTRequest": false, /* If Do Not Track == 1, disallow all */
"removeCredit": true, /* Remove credit link */
"moreInfoLink": false, /* Show more info link */
"useExternalCss": true, /* If false, the tarteaucitron.css file will be loaded */
"readmoreLink": "/privacy"
});
</script>
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{% endblock %}
</head>
<body
class="{% block body_class %}{% if not is_granted('IS_AUTHENTICATED_FULLY') %}logged-out{% else %}logged-in{% endif %} {% endblock %}"
data-locale="{{ app.request.locale }}"
data-controller="app"
>
{% if app_env == 'dev' %}
<div class="dev-banner">DEV VERSION</div>
{% endif %}
{% block body %}{% endblock %}
{% block javascripts_footer %}{% endblock %}
</body>
</html>