123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- {% set body_classes = body_class(['header-fixed', 'header-animated', 'header-dark', 'header-transparent', 'sticky-footer']) %}
- {% set grid_size = theme_var('grid-size') %}
- {% set compress = theme_var('production-mode') ? '.min.css' : '.css' %}
- <!DOCTYPE html>
- <html lang="{{ grav.language.getActive ?: grav.config.site.default_lang }}">
- <head>
- {% block head %}
- <meta charset="utf-8" />
- <title>{% if header.title %}{{ header.title|e('html') }} | {% endif %}{{ site.title|e('html') }}</title>
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="theme-color" content="#317EFB"/>
- {% include 'partials/metadata.html.twig' %}
- <link rel="icon" type="image/png" href="{{ url('theme://images/favicon.png') }}" />
- <link rel="canonical" href="{{ page.url(true, true) }}" />
- {% block stylesheets %}
- {% do assets.addCss('theme://css-compiled/theme'~compress) %}
- {% do assets.addCss('theme://css/leaflet.css') %}
- {% do assets.addCss('theme://css/jquery.bxslider.min.css') %}
- {% endblock %}
- {% block javascripts %}
- {% do assets.addJs('theme://js/jquery-3.4.1.min.js', {group:'bottom'}) %}
- {% do assets.addJs('theme://js/leaflet.js', {group:'bottom'}) %}
- {% do assets.addJs('theme://js/imagesloaded.pkgd.min.js', {group:'bottom'}) %}
- {% do assets.addJs('theme://js/masonry.filter.js', {group:'bottom'}) %}
- {% do assets.addJs('theme://js/masonry.pkgd.min.js', {group:'bottom'}) %}
- {% do assets.addJs('theme://js/jquery.bxslider.min.js', {group:'bottom'}) %}
- {% do assets.addJs('theme://js/site.min.js', {group:'bottom'}) %}
- {% endblock %}
- {% block assets deferred %}
- {{ assets.css()|raw }}
- {{ assets.js()|raw }}
- {% endblock %}
- {% endblock head %}
- <!-- Matomo -->
- <script type="text/javascript">
- var _paq = window._paq || [];
- _paq.push([function() {
- var self = this;
- function getOriginalVisitorCookieTimeout() {
- var now = new Date(),
- nowTs = Math.round(now.getTime() / 1000),
- visitorInfo = self.getVisitorInfo();
- var createTs = parseInt(visitorInfo[2]);
- var cookieTimeout = 33696000; // 13 mois en secondes
- var originalTimeout = createTs + cookieTimeout - nowTs;
- return originalTimeout;
- }
- this.setVisitorCookieTimeout( getOriginalVisitorCookieTimeout() );
- }]);
- _paq.push(['trackPageView']);
- _paq.push(['enableLinkTracking']);
- (function() {
- var u="//lecampus.kevintessier.net/matomo/";
- _paq.push(['setTrackerUrl', u+'matomo.php']);
- _paq.push(['setSiteId', '1']);
- var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
- g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
- })();
- </script>
- <!-- End Matomo Code -->
- <script type="application/ld+json">
- {
- "@graph": [
- {
- "@type": "Place",
- "address": {
- "@type": "PostalAddress",
- "addressLocality": "Eurre",
- "addressRegion": "Val de Drôme",
- "postalCode": "26400",
- "streetAddress": "Place Michel Paulus,Ecosite du Val de Drôme"
- },
- "name": "Le Campus Biovallee"
- }
- ]
- }
- </script>
- </head>
- <body>
- {% block header %}
- <header>
- <nav>
- <div class="logo">
- <a href="/"><img alt="le_campus_biovallee" src="/user/themes/lecampus/images/logo_lecampus.svg" alt="logo_lecampus"></a>
- </div>
- <nav class="dropmenu">
- {% block header_navigation %}
- {% include 'partials/navigation.html.twig' %}
- {% endblock %}
- </nav>
- <div class="reso">
- <a href="https://www.facebook.com/Lecampus.Valdedrome" target="_blank" rel =" noopener "><img src="/user/themes/lecampus/images/fb.svg" alt="logo-facebook"></a>
- <a href="https://www.youtube.com/user/CCVDful" target="_blank" rel =" noopener "><img src="/user/themes/lecampus/images/yt.svg" alt="logo-youtube"></a>
- <!-- <a href="#" target="_blank" rel =" noopener "><img src="/user/themes/lecampus/images/in.svg" alt="logo-link"></a> -->
- </div>
- </nav>
- </header>
- {% endblock %}
- <section id="{{page.template}}" class="start">
- {% block body %}
- <div class="header-wrapper">
- {% block header_body %}{% endblock %}
- </div>
- <div class="body-wrapper">
- {% block content %}{% endblock %}
- {% block sidebar %}{% endblock %}
- </div>
- {% endblock %}
- </section>
- {% block newsletter %}{% endblock %}
- {% block devis %}{% endblock %}
- {% block reco %}{% endblock %}
- {% block footer %}
- {% include 'partials/footer.html.twig' %}
- <iframe title="exclude"
- style="border: 0;"
- src="https://lecampus.kevintessier.net/matomo/index.php?module=CoreAdminHome&action=optOut&language=fr&backgroundColor=&fontColor=&fontSize=&fontFamily="
- ></iframe>
- {% endblock %}
- {% block bottom %}
- {{ assets.js('bottom')|raw }}
- {% endblock %}
- </body>
- </html>
|