81 lines
2.3 KiB
Twig
81 lines
2.3 KiB
Twig
{% block html_head_container %}
|
|
{% include 'html-header.twig' %}
|
|
{% block head %}{% endblock %}
|
|
</head>
|
|
{% endblock %}
|
|
|
|
<body class="container-fluid {{post.slug}} {{post.post_type}}">
|
|
<header class="fixed-top d-flex">
|
|
{% block header %}
|
|
<section class="logo col">
|
|
<figure>
|
|
<a href="{{site.url}}" rel="noreferrer">
|
|
<img src="{{theme.link}}/dist//assets/images/logo_lamine_vect.svg" alt="logo_Lamine" title="Le logo de La mine"/>
|
|
<span id="lumiR_logo"></span>
|
|
<span id="fond_logo"></span>
|
|
</a>
|
|
</figure>
|
|
</section>
|
|
|
|
<section class="nav-main col row">
|
|
<div class="rs col">
|
|
<figure id="facebook">
|
|
<a rel="noreferrer" target="_blank" href="{{options.facebook.lien_facebook}}">
|
|
<img src="{{theme.link}}/dist//assets/images/fb.svg" alt="logo_facebook" title="Le logo de facebook"/>
|
|
</a>
|
|
</figure>
|
|
<figure id="insta">
|
|
<a rel="noreferrer" target="_blank" href="{{options.instagram.lien_instagram}}">
|
|
<img src="{{theme.link}}/dist//assets/images/inst.svg" alt="logo_instagram" title="Le logo d'instagram"/>
|
|
</a>
|
|
</figure>
|
|
</div>
|
|
<div class="burger col">
|
|
<div class="fond_burger">
|
|
<button class="hamburger hamburger--slider" type="button">
|
|
<span class="hamburger-box">
|
|
<span class="hamburger-inner"></span>
|
|
</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<nav class="col" role="navigation">
|
|
{% include "components/menu.twig" with {'items': menu.get_items} %}
|
|
</nav>
|
|
</section>
|
|
{% endblock %}
|
|
</header>
|
|
|
|
{% if post.slug == "accueil" %}
|
|
{% include "components/hero.twig" %}
|
|
{% endif %}
|
|
|
|
{% if post.slug == "privacy-policy" %}
|
|
<figure class="paralax" data-rellax-speed="5">
|
|
<img src="{{theme.link}}/asset/images/objet_8.svg" alt="objet 8">
|
|
</figure>
|
|
{% endif %}
|
|
|
|
<main id="content" class="container-fluid" role="main">
|
|
{% if title %}
|
|
<h1>{{title}}</h1>
|
|
{% endif %}
|
|
{# <div class="wrapper {{sidebar_class}}"> #}
|
|
{% block content %}{% endblock %}
|
|
{# </div> #}
|
|
{% if sidebar %}
|
|
<aside class="layout-sidebar">
|
|
{{sidebar}}
|
|
</aside>
|
|
{% endif %}
|
|
</main>
|
|
|
|
{% block footer %}
|
|
<footer>
|
|
{% include 'components/footer.twig' %}
|
|
</footer>
|
|
{{ function('wp_footer') }}
|
|
{% endblock %}
|
|
</body>
|
|
</html>
|