clean && clean html base
This commit is contained in:
@@ -1,33 +1,34 @@
|
||||
{% block html_head_container %}
|
||||
|
||||
{% include 'html-header.twig' %}
|
||||
{% block head %}
|
||||
{% include 'html-header.twig' %}
|
||||
{% block head %}{% endblock %}
|
||||
</head>
|
||||
{% endblock %}
|
||||
</head>
|
||||
{% endblock %}
|
||||
|
||||
<body class="container-fluid {{post.slug}} {{post.post_type}}" data-template="base.twig">
|
||||
<header class="header d-flex ">
|
||||
<body class="container-fluid {{post.slug}} {{post.post_type}}">
|
||||
<header class="header d-flex">
|
||||
{% block header %}
|
||||
<div class="logoLamine mr-auto">
|
||||
<a class="hdr-logo-link" href="{{site.url}}"><img src="{{theme.link}}/asset/images/logo_lamine_vect.svg"/>
|
||||
<div id="lumiR_logo"></div>
|
||||
<div id="fond_logo"></div>
|
||||
</a>
|
||||
</div>
|
||||
<section class="logo">
|
||||
<figures>
|
||||
<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>
|
||||
</figures>
|
||||
</section>
|
||||
|
||||
<div class="nav-wrapper d-flex align-items-center">
|
||||
<div class="rs d-flex">
|
||||
<div class="facebook">
|
||||
<a target="_blank" href="{{options.facebook.lien_facebook}}">
|
||||
<img src="{{ Image(options.facebook.logo_facebook).src }}" />
|
||||
<section class="nav-main">
|
||||
<div class="rs">
|
||||
<figures id="facebook">
|
||||
<a rel="noreferrer" target="_blank" href="{{options.facebook.lien_facebook}}">
|
||||
<img src="{{ Image(options.facebook.logo_facebook).src }}" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="insta">
|
||||
<a target="_blank" href="{{options.instagram.lien_instagram}}">
|
||||
</figures>
|
||||
<figures id="insta">
|
||||
<a rel="noreferrer" target="_blank" href="{{options.instagram.lien_instagram}}">
|
||||
<img src="{{ Image(options.instagram.logo_instagram).src }}" />
|
||||
</a>
|
||||
</div>
|
||||
</figures>
|
||||
</div>
|
||||
<div class="burger">
|
||||
<div class="fond_burger">
|
||||
@@ -38,40 +39,40 @@
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<nav id="nav-main" class="nav-main" role="navigation">
|
||||
{% include "menu.twig" with {'items': menu.get_items} %}
|
||||
</nav>
|
||||
<nav role="navigation">
|
||||
{% include "components/menu.twig" with {'items': menu.get_items} %}
|
||||
</nav>
|
||||
</section>
|
||||
{% endblock %}
|
||||
</header>
|
||||
|
||||
{% if post.slug == "accueil" %}
|
||||
{% include "components/hero/hero.twig" %}
|
||||
{% include "components/hero.twig" %}
|
||||
{% endif %}
|
||||
|
||||
{% if post.slug == "privacy-policy" %}
|
||||
<div class="paralax" data-rellax-speed="5">
|
||||
<figures class="paralax" data-rellax-speed="5">
|
||||
<img src="{{theme.link}}/asset/images/objet_8.svg" alt="objet 8">
|
||||
</div>
|
||||
</figures>
|
||||
{% endif %}
|
||||
|
||||
<section id="content" role="main" class="content-wrapper container-md">
|
||||
{% if title %}<h1>{{title}}</h1>{% endif %}
|
||||
<div class="wrapper {{sidebar_class}}">
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
<main id="content" 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 %}
|
||||
</section>
|
||||
</main>
|
||||
|
||||
{% block footer %}
|
||||
<footer id="footer" class="d-flex flex-wrap">
|
||||
{% include 'footer.twig' %}
|
||||
<footer>
|
||||
{% include 'components/footer.twig' %}
|
||||
</footer>
|
||||
{{ function('wp_footer') }}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user