maj
This commit is contained in:
@@ -3,98 +3,89 @@
|
||||
{% 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>
|
||||
<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' %}
|
||||
<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) }}" />
|
||||
<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) %}
|
||||
{% do assets.addCss('theme://css/leaflet.css') %}
|
||||
{% do assets.addCss('theme://css/jquery.bxslider.min.css') %}
|
||||
{% 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 %}
|
||||
{% endblock %}
|
||||
|
||||
{% block javascripts %}
|
||||
{% block javascripts %}
|
||||
|
||||
{% do assets.addJs('jquery', 101) %}
|
||||
{% 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.js', {group:'bottom'}) %}
|
||||
{% do assets.addJs('jquery', 101) %}
|
||||
{% 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.js', {group:'bottom'}) %}
|
||||
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
{% block assets deferred %}
|
||||
{{ assets.css()|raw }}
|
||||
{{ assets.js()|raw }}
|
||||
{% endblock %}
|
||||
{% block assets deferred %}
|
||||
{{ assets.css()|raw }}
|
||||
{{ assets.js()|raw }}
|
||||
{% endblock %}
|
||||
|
||||
<meta property="og:url" content="https://www.your-domain.com/your-page.html" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:title" content="Your Website Title" />
|
||||
<meta property="og:description" content="Your description" />
|
||||
<meta property="og:image" content="/user/themes/lecampus/images/fb.svg" />
|
||||
<meta property="og:url" content="https://www.your-domain.com/your-page.html" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:title" content="Your Website Title" />
|
||||
<meta property="og:description" content="Your description" />
|
||||
<meta property="og:image" content="/user/themes/lecampus/images/fb.svg" />
|
||||
|
||||
{% endblock head %}
|
||||
</head>
|
||||
{% endblock head %}
|
||||
</head>
|
||||
|
||||
<body id="top" class="{% block body_classes %}{{ body_classes }}{% endblock %}">
|
||||
<body>
|
||||
{% block header %}
|
||||
<section id="header" class="section">
|
||||
<nav class="navbar">
|
||||
<div class="logo">
|
||||
<a href="/"><img src="/user/themes/lecampus/images/logo_lecampus.svg" alt="logo_lecampus"></a>
|
||||
</div>
|
||||
<header>
|
||||
<nav>
|
||||
<div class="logo">
|
||||
<a href="/"><img src="/user/themes/lecampus/images/logo_lecampus.svg" alt="logo_lecampus"></a>
|
||||
</div>
|
||||
|
||||
<nav class="dropmenu animated">
|
||||
{% block header_navigation %}
|
||||
{% include 'partials/navigation.html.twig' %}
|
||||
{% endblock %}
|
||||
</nav>
|
||||
<nav class="dropmenu">
|
||||
{% 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">
|
||||
<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>
|
||||
</div>
|
||||
|
||||
<div class="reso">
|
||||
<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>
|
||||
</div>
|
||||
</nav>
|
||||
</section>
|
||||
</nav>
|
||||
</header>
|
||||
{% endblock %}
|
||||
|
||||
{% block hero %}{% endblock %}
|
||||
<section id="{{page.template}}" class="start">
|
||||
{% block body %}
|
||||
<div class="header-wrapper">
|
||||
{% block header_body %}{% endblock %}
|
||||
</div>
|
||||
|
||||
<section id="{{page.template}}" class="start">
|
||||
{% block body %}
|
||||
<section class="header-wrapper" class="section">
|
||||
{% block header_body %}{% endblock %}
|
||||
</section>
|
||||
|
||||
<section class="body-wrapper" class="section">
|
||||
{% block content %}{% endblock %}
|
||||
{% block sidebar %}{% endblock %}
|
||||
</section>
|
||||
{% endblock %}
|
||||
</section>
|
||||
|
||||
{% block newsletter %}
|
||||
{% include 'partials/newsletters.html.twig' %}
|
||||
<div class="body-wrapper">
|
||||
{% block content %}{% endblock %}
|
||||
{% block sidebar %}{% endblock %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
</section>
|
||||
|
||||
{% block newsletter %}{% endblock %}
|
||||
{% block devis %}{% endblock %}
|
||||
{% block reco %}{% endblock %}
|
||||
|
||||
@@ -102,9 +93,9 @@
|
||||
{% include 'partials/footer.html.twig' %}
|
||||
{% endblock %}
|
||||
|
||||
{% block bottom %}
|
||||
{{ assets.js('bottom')|raw }}
|
||||
{% endblock %}
|
||||
{% block bottom %}
|
||||
{{ assets.js('bottom')|raw }}
|
||||
{% endblock %}
|
||||
|
||||
</body>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user