base.twig 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {% block html_head_container %}
  2. {% include 'html-header.twig' %}
  3. {% block head %}
  4. {% endblock %}
  5. </head>
  6. {% endblock %}
  7. <body class="{{body_class}} container-md" data-template="base.twig">
  8. <a class="skip-link screen-reader-text" href="#content">{{ _e( 'Skip to content') }}</a>
  9. <header class="header nav">
  10. {% block header %}
  11. <div class="logoLamine">
  12. <h1 class="hdr-logo" role="banner">
  13. {#<a class="hdr-logo-link" href="{{site.url}}" rel="home">{{site.name}}</a>#}
  14. <a class="hdr-logo-link" href="{{site.accueil}}" rel="home">{{site.name}}</a>
  15. </h1>
  16. </div>
  17. <nav id="nav-main" class="nav-main" role="navigation">
  18. {% include "menu.twig" with {'items': menu.get_items} %}
  19. </nav><!-- #nav -->
  20. {% endblock %}
  21. </header>
  22. <section id="content" role="main" class="content-wrapper">
  23. {% if title %}<h1>{{title}}</h1>{% endif %}
  24. <div class="wrapper {{sidebar_class}}">
  25. {% block content %}
  26. Sorry, no content
  27. {% endblock %}
  28. </div>
  29. {% if sidebar %}
  30. <aside class="layout-sidebar">
  31. {{sidebar}}
  32. </aside>
  33. {% endif %}
  34. </section>
  35. {% block footer %}
  36. <footer id="footer">
  37. {% include 'footer.twig' %}
  38. </footer>
  39. {{ function('wp_footer') }}
  40. {% endblock %}
  41. </body>
  42. </html>