base.twig 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. <div class="fl_menu"><img src="{{theme.link}}/asset/images/fleche_menu.svg"></div>
  42. </nav>
  43. {% endblock %}
  44. </header>
  45. {% if post.slug == "accueil" %}
  46. {% include "components/hero/hero.twig" %}
  47. {% endif %}
  48. {% if post.slug == "privacy-policy" %}
  49. <div class="paralax" data-rellax-speed="5">
  50. <img src="{{theme.link}}/asset/images/objet_8.svg" alt="objet 8">
  51. </div>
  52. {% endif %}
  53. <section id="content" role="main" class="content-wrapper container-md">
  54. {% if title %}<h1>{{title}}</h1>{% endif %}
  55. <div class="wrapper {{sidebar_class}}">
  56. {% block content %}
  57. {% endblock %}
  58. </div>
  59. {% if sidebar %}
  60. <aside class="layout-sidebar">
  61. {{sidebar}}
  62. </aside>
  63. {% endif %}
  64. </section>
  65. {% block footer %}
  66. <footer id="footer" class="d-flex flex-wrap">
  67. {% include 'footer.twig' %}
  68. </footer>
  69. {{ function('wp_footer') }}
  70. {% endblock %}
  71. </body>
  72. </html>