<!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">
tarteaucitron.user.gtagUa = '{{ google_analytics_id }}';
// google analytics
tarteaucitron.services.gtag = {
"key": "gtag",
"type": "analytic",
"name": "Google Analytics (gtag.js)",
"uri": "https://support.google.com/analytics/answer/6004245",
"needConsent": true,
"cookies": (function () {
// Add _gat_gtag_UA_XXXXXXX_XX cookie to cookies array
var gatGtagUaCookie = '_gat_gtag_' + tarteaucitron.user.gtagUa;
gatGtagUaCookie = gatGtagUaCookie.replace(/-/g, '_');
return ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', gatGtagUaCookie];
})(),
"js": function () {
"use strict";
window.dataLayer = window.dataLayer || [];
tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + tarteaucitron.user.gtagUa, '', function () {
window.gtag = function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', tarteaucitron.user.gtagUa);
if (typeof tarteaucitron.user.gtagMore === 'function') {
tarteaucitron.user.gtagMore();
}
});
}
};
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": "/"
});
(tarteaucitron.job = tarteaucitron.job || []).push('gtag');
</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>