base.twig 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {% block html_head_container %}
  2. {% include 'html-header.twig' %}
  3. {% block head %}
  4. {% endblock %}
  5. </head>
  6. {% endblock %}
  7. <body class="container-fluid {{post.slug}} {{post.post_type}}" data-template="base.twig">
  8. <header class="header d-flex ">
  9. {% block header %}
  10. <div class="logoLamine mr-auto">
  11. <a class="hdr-logo-link" href="{{site.url}}"><img src="{{theme.link}}/asset/images/logo_lamine_vect.svg"/>
  12. <div id="lumiR_logo"></div>
  13. <div id="fond_logo"></div>
  14. </a>
  15. </div>
  16. <div class="nav-wrapper d-flex align-items-center">
  17. <div class="rs d-flex">
  18. <div class="facebook">
  19. <a target="_blank" href="{{options.facebook.lien_facebook}}">
  20. <img src="{{ Image(options.facebook.logo_facebook).src }}" />
  21. </a>
  22. </div>
  23. <div class="insta">
  24. <a target="_blank" href="{{options.instagram.lien_instagram}}">
  25. <img src="{{ Image(options.instagram.logo_instagram).src }}" />
  26. </a>
  27. </div>
  28. </div>
  29. <div class="burger">
  30. <div class="fond_burger">
  31. <button class="hamburger hamburger--slider" type="button">
  32. <span class="hamburger-box">
  33. <span class="hamburger-inner"></span>
  34. </span>
  35. </button>
  36. </div>
  37. </div>
  38. </div>
  39. <nav id="nav-main" class="nav-main" role="navigation">
  40. {% include "menu.twig" with {'items': menu.get_items} %}
  41. </nav>
  42. {% endblock %}
  43. </header>
  44. {% if post.slug == "accueil" %}
  45. {% include "components/hero/hero.twig" %}
  46. {% endif %}
  47. {% if post.slug == "privacy-policy" %}
  48. <div class="paralax" data-rellax-speed="5">
  49. <img src="{{theme.link}}/asset/images/objet_8.svg" alt="objet 8">
  50. </div>
  51. {% endif %}
  52. <section id="content" role="main" class="content-wrapper container-md">
  53. {% if title %}<h1>{{title}}</h1>{% endif %}
  54. <div class="wrapper {{sidebar_class}}">
  55. {% block content %}
  56. {% endblock %}
  57. </div>
  58. {% if sidebar %}
  59. <aside class="layout-sidebar">
  60. {{sidebar}}
  61. </aside>
  62. {% endif %}
  63. </section>
  64. {% block footer %}
  65. <footer id="footer" class="d-flex flex-wrap">
  66. {% include 'footer.twig' %}
  67. </footer>
  68. {{ function('wp_footer') }}
  69. {% endblock %}
  70. </body>
  71. </html>