templates/base.html.twig line 1
{% set settings = setting_service.findAll %}
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<link rel="profile" href="https://gmpg.org/xfn/11">
<meta name="robots" content="follow, index, max-snippet:-1, max-video-preview:-1, max-image-preview:large">
<link rel='dns-prefetch' href='//fonts.googleapis.com' />
<link rel='dns-prefetch' href='//s.w.org' />
{# si on est sur la homepage, on envoie les infos SEO pour la homepage #}
{% if pathInfo == '/' %}
<title>{% block title %}Bienvenue !{% endblock %}</title>
<meta name="description" content="{{ settings[0].siteDescription|replace({'<div>': '', '</div>': '', '<p>': '', '</p>': '',})|raw }}">
<meta name="keywords" content="{{ settings[0].siteKeywords|replace({'<div>': '', '</div>': '', '<p>': '', '</p>': '',})|raw }}">
<meta name="image" content="{{ asset('assets/img/' ~ settings[0].siteLogo) }}">
<link rel="canonical" href="{{ url(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')) }}">
<!-- Schema.org for Google -->
<meta itemprop="name" content="{{ settings[0].siteName }}">
<meta itemprop="description" content="{{ settings[0].siteDescription|replace({'<div>': '', '</div>': '', '<p>': '', '</p>': '',})|raw }}">
<meta itemprop="image" content="{{ asset('assets/img/' ~ settings[0].siteLogo ) }}">
<!-- Twitter -->
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="{{ settings[0].siteName }}">
<meta name="twitter:description" content="{{ settings[0].siteDescription|replace({'<div>': '', '</div>': '', '<p>': '', '</p>': '',})|raw }}">
<meta name="twitter:site" content="{{ settings[0].siteName }}">
<meta name="twitter:image:src" content="{{ asset('assets/img/' ~ settings[0].siteLogo) }}">
<!-- Open Graph general -->
<meta property="og:title" content="{{ settings[0].siteName }}" />
<meta property="og:description" content="{{ settings[0].siteDescription|replace({'<div>': '', '</div>': '', '<p>': '', '</p>': '',})|raw }}" />
<meta property="og:image" content="{{ asset('assets/img/' ~ settings[0].siteLogo ) }}" />
<meta property="og:url" content="{{ url(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')) }}" />
<meta property="og:site_name" content="{{ settings[0].siteName }}">
<meta property="og:locale" content="fr_FR">
<meta property="og:type" content="website" />
{# Si on est sur autre page on envoie les infos SEO de la page #}
{% else %}
{% if page.title is defined and page.title != null %}
<title>{{ settings[0].siteName }} : {{ page.name|raw }}</title>
<meta name="description" content="{{ settings[0].siteDescription|replace({'<div>': '', '</div>': '', '<p>': '', '</p>': '',})|raw }}">
<meta name="keywords" content="{{ settings[0].siteKeywords|replace({'<div>': '', '</div>': '', '<p>': '', '</p>': '',})|raw }}">
<meta name="image" content="{{ asset('assets/img/' ~ settings[0].siteLogo) }}">
<link rel="canonical" href="{{ url(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')) }}">
<!-- Schema.org for Google -->
<meta itemprop="name" content="{{ settings[0].siteName }} : {{ page.name|raw }}">
<meta itemprop="description" content="{{ settings[0].siteDescription|replace({'<div>': '', '</div>': '', '<p>': '', '</p>': '',})|raw }}">
<meta itemprop="image" content="{{ asset('assets/img/' ~ settings[0].siteLogo ) }}">
<!-- Twitter -->
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="{{ settings[0].siteName }} : {{ page.name|raw }}">
<meta name="twitter:description" content="{{ settings[0].siteDescription|replace({'<div>': '', '</div>': '', '<p>': '', '</p>': '',})|raw }}">
<meta name="twitter:site" content="{{ settings[0].siteName }} : {{ page.name|raw }}">
<meta name="twitter:image:src" content="{{ asset('assets/img/' ~ settings[0].siteLogo) }}">
<!-- Open Graph general -->
<meta property="og:title" content="{{ settings[0].siteName }} : {{ page.name|raw }}" />
<meta property="og:description" content="{{ settings[0].siteDescription|replace({'<div>': '', '</div>': '', '<p>': '', '</p>': '',})|raw }}" />
<meta property="og:image" content="{{ asset('assets/img/' ~ settings[0].siteLogo ) }}" />
<meta property="og:url" content="{{ url(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')) }}" />
<meta property="og:site_name" content="{{ settings[0].siteName }} : {{ page.name|raw }}">
<meta property="og:locale" content="fr_FR">
<meta property="og:type" content="website" />
{% endif %}
{% endif %}
<!-- Favicon -->
<link rel="apple-touch-icon" sizes="57x57" href="{{ asset('assets/img/favicon/apple-icon-57x57.png') }}">
<link rel="apple-touch-icon" sizes="60x60" href="{{ asset('assets/img/favicon/apple-icon-60x60.png') }}">
<link rel="apple-touch-icon" sizes="72x72" href="{{ asset('assets/img/favicon/apple-icon-72x72.png') }}">
<link rel="apple-touch-icon" sizes="76x76" href="{{ asset('assets/img/favicon/apple-icon-76x76.png') }}">
<link rel="apple-touch-icon" sizes="114x114" href="{{ asset('assets/img/favicon/apple-icon-114x114.png') }}">
<link rel="apple-touch-icon" sizes="120x120" href="{{ asset('assets/img/favicon/apple-icon-120x120.png') }}">
<link rel="apple-touch-icon" sizes="144x144" href="{{ asset('assets/img/favicon/apple-icon-144x144.png') }}">
<link rel="apple-touch-icon" sizes="152x152" href="{{ asset('assets/img/favicon/apple-icon-152x152.png') }}">
<link rel="apple-touch-icon" sizes="180x180" href="{{ asset('assets/img/favicon/apple-icon-180x180.png') }}">
<link rel="icon" type="image/png" sizes="192x192" href="{{ asset('assets/img/favicon/android-icon-192x192.png') }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ asset('assets/img/favicon/favicon-32x32.png') }}">
<link rel="icon" type="image/png" sizes="96x96" href="{{ asset('assets/img/favicon/favicon-96x96.png') }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ asset('assets/img/favicon/favicon-16x16.png') }}">
<link rel="manifest" href="{{ asset('assets/img/favicon/manifest.json') }}">
<link rel="icon" type="image/x-icon" href="{{ asset('assets/img/favicon/favicon.ico') }}">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="{{ asset('assets/img/favicon/ms-icon-144x144.png') }}">
<meta name="theme-color" content="#ffffff">
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{% endblock %}
<script src="{{ asset('assets/js/tarteaucitron/tarteaucitron.js') }}"></script>
<script type="text/javascript">
tarteaucitron.init({
"privacyUrl": "", /* Privacy policy url */
"bodyPosition": "bottom", /* or top to bring it as first element for accessibility */
"hashtag": "#tarteaucitron", /* Open the panel with this hashtag */
"cookieName": "tarteaucitron", /* Cookie name */
//"orientation": "middle", /* Banner position (top - bottom) */
"orientation": "bottom",
"groupServices": false, /* Group services by category */
"showAlertSmall": false, /* Show the small banner on bottom right */
"cookieslist": false, /* Show the cookie list */
"closePopup": false, /* Show a close X on the banner */
"showIcon": true, /* Show cookie icon to manage cookies */
//"iconSrc": "", /* Optionnal: URL or base64 encoded image */
"iconPosition": "BottomRight", /* BottomRight, BottomLeft, TopRight and TopLeft */
"adblocker": false, /* Show a Warning if an adblocker is detected */
"DenyAllCta" : true, /* Show the deny all button */
"AcceptAllCta" : true, /* Show the accept all button when highPrivacy on */
"highPrivacy": true, /* HIGHLY RECOMMANDED Disable auto consent */
"handleBrowserDNTRequest": false, /* If Do Not Track == 1, disallow all */
"removeCredit": false, /* Remove credit link */
"moreInfoLink": true, /* Show more info link */
"useExternalCss": false, /* If false, the tarteaucitron.css file will be loaded */
"useExternalJs": false, /* If false, the tarteaucitron.js file will be loaded */
//"cookieDomain": ".my-multisite-domaine.fr", /* Shared cookie for multisite */
"readmoreLink": "", /* Change the default readmore link */
"mandatory": true, /* Show a message about mandatory cookies */
"mandatoryCta": true /* Show the disabled accept button when mandatory on */
});
</script>
<script type="text/javascript">
tarteaucitron.user.googleFonts = ['OpenSans'];
(tarteaucitron.job = tarteaucitron.job || []).push('googlefonts');
</script>
</head>
<body>
{% include '_includes/_header.html.twig' %}
{% block body %}{% endblock %}
{% include '_includes/_footer.html.twig' %}
</body>
</html>