<!DOCTYPE html>
<html lang="fr">
<head>
{% include "front/common/layout.head_common_meta_link.html.twig" %}
{% if fileExists('favicon/favicon-16x16.ico') %}
<link rel="icon" type="image/x-icon" sizes="16x16"
href="{{ path('static_file_folder', {'folder': 'favicon', 'fileName': 'favicon-16x16.ico'}) }}?v={{ version }}">
{% endif %}
{% if fileExists('favicon/favicon-32x132.png') %}
<link rel="icon" type="image/png" sizes="32x32"
href="{{ path('static_file_folder', {'folder': 'favicon', 'fileName': 'favicon-32x132.png'}) }}?v={{ version }}">
{% endif %}
{% if fileExists('favicon/favicon-96x96.png') %}
<link rel="icon" type="image/png" sizes="96x96"
href="{{ path('static_file_folder', {'folder': 'favicon', 'fileName': 'favicon-96x96.png'}) }}?v={{ version }}">
{% endif %}
{% if fileExists('favicon/favicon-180x180.png') %}
<link rel="icon" type="image/png" sizes="180x8180"
href="{{ path('static_file_folder', {'folder': 'favicon', 'fileName': 'favicon-180x180.png'}) }}?v={{ version }}">
{% endif %}
<title>{{ platform.global.seo.title }}</title>
{% block styles_global_vendor %}
{# Styles spécifique à une page #}
{% endblock styles_global_vendor %}
{# Styles commun à l'ensemble du site #}
{% if platform.front.theme is defined and platform.front.theme not in ['', null] %}
<link rel="stylesheet"
href="{{ asset('build/assets/templates/' ~ platform.front.theme ~'/scss/main.css') }}?v={{ version }}">
{% endif %}
<link rel="stylesheet" href="{{ path('front_common_css_custom') }}">
{% block styles %}
{# Styles spécifique à une page #}
{% endblock styles %}
{# Style global venant du fichier platform.[projet].yaml, doit avoir la priorité absolue sur tous les autres #}
{% if platform.front.css_config.custom_css_files is defined %}
{% for file in platform.front.css_config.custom_css_files %}
<link rel="stylesheet" href="{{ asset(file) }}?v={{ version }}">
{% endfor %}
{% endif %}
{% if platform.front.common.custom_css is defined %}
<style rel="stylesheet">
{{ platform.front.common.custom_css|raw }}
</style>
{% endif %}
{% block styles_custom %}
{# Styles spécifique à une page et prioritaire par rapport au css global venant de platform.[projet].yaml #}
{% endblock styles_custom %}
{% include "front/common/layout.head_common_js.html.twig" %}
<script>
const cdn = '{{ cdn }}';
</script>
</head>
<body class="{% block bodyclass %}document{% endblock %}">
<div class="wrapper">
{% block header %}{% endblock header %}
<div class="container mt-3" style="background-color: #fff;">
{% block content %}{% endblock content %}
</div>
{% block footer %}{% endblock footer %}
</div>
{% block gotop %}
<a class="gotop btn btn-yellow d-none">
<i class="glyphicon glyphicon-arrow-up"></i>
</a>
{% endblock gotop %}
{% block scripts %}
<script src="{{ asset('build/assets/js/front/jquery.min.js') }}?v={{ version }}"></script>
<script src="{{ asset('build/assets/bower_components/bootstrap4/dist/js/bootstrap.bundle.min.js') }}?v={{ version }}"></script>
{% endblock scripts %}
</body>
</html>