95 lines
3.7 KiB
Twig
Raw Normal View History

2019-04-02 19:54:29 +02:00
{% 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">
{% 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/spectre'~compress) %}
{% do assets.addCss('theme://css-compiled/theme'~compress) %}
2019-04-05 00:19:26 +02:00
{% do assets.addCss('theme://css/leaflet.css') %}
2019-04-02 19:54:29 +02:00
{% endblock %}
{% block javascripts %}
2019-04-05 00:19:26 +02:00
2019-04-02 19:54:29 +02:00
{% do assets.addJs('jquery', 101) %}
2019-04-08 18:00:38 +02:00
{% do assets.addJs('theme://js/leaflet.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/imagesloaded.pkgd.min.js', {group:'bottom'}) %}
2019-04-10 16:38:49 +02:00
{% do assets.addJs('theme://js/masonry.filter.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/masonry.pkgd.min.js', {group:'bottom'}) %}
2019-04-05 00:19:26 +02:00
{% do assets.addJs('theme://js/jquery.slides.min.js', {group:'bottom'}) %}
2019-04-02 19:54:29 +02:00
{% do assets.addJs('theme://js/site.js', {group:'bottom'}) %}
2019-04-05 00:19:26 +02:00
2019-04-02 19:54:29 +02:00
{% endblock %}
{% block assets deferred %}
{{ assets.css()|raw }}
{{ assets.js()|raw }}
{% endblock %}
{% endblock head %}
</head>
<body id="top" class="{% block body_classes %}{{ body_classes }}{% endblock %}">
{% block header %}
<section id="header" class="section">
2019-04-03 15:29:46 +02:00
<nav class="navbar">
2019-05-01 19:59:32 +02:00
<div class="logo">
<a href="/"><img src="/user/themes/lecampus/images/logo_lecampus.svg" alt="logo_lecampus"></a>
</div>
2019-04-08 18:00:38 +02:00
<nav class="dropmenu animated">
{% block header_navigation %}
{% include 'partials/navigation.html.twig' %}
{% endblock %}
</nav>
{% if config.plugins.login.enabled and grav.user.username %}
<span class="login-status-wrapper"><i class="fa fa-user"></i> {% include 'partials/login-status.html.twig' %}</span>
{% endif %}
<div class="reso">
2019-05-01 19:59:32 +02:00
<a href="https://www.facebook.com/Lecampus.Valdedrome" target="_blank"><img src="/user/themes/lecampus/images/fb.svg" alt="logo-facebook"></a>
<a href="https://www.youtube.com/user/CCVDful" target="_blank"><img src="/user/themes/lecampus/images/yt.svg" alt="logo-youtube"></a>
<a href="#" target="_blank"><img src="/user/themes/lecampus/images/in.svg" alt="logo-link"></a>
2019-04-08 18:00:38 +02:00
</div>
2019-04-03 15:29:46 +02:00
</nav>
2019-04-02 19:54:29 +02:00
</section>
{% endblock %}
{% block hero %}{% endblock %}
2019-04-05 00:19:26 +02:00
<section id="{{page.template}}" class="start">
2019-04-02 19:54:29 +02:00
{% block body %}
<section id="body-wrapper" class="section">
2019-04-05 00:19:26 +02:00
<section id="item">
2019-04-02 19:54:29 +02:00
{% block content %}{% endblock %}
{% block sidebar %}{% endblock %}
</section>
2019-05-01 19:59:32 +02:00
{% block devis %}{% endblock %}
2019-04-02 19:54:29 +02:00
</section>
{% endblock %}
</section>
{% block footer %}
{% include 'partials/footer.html.twig' %}
{% endblock %}
{% block bottom %}
{{ assets.js('bottom')|raw }}
{% endblock %}
</body>
</html>