header.html.twig 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. <header id="top-bar">
  2. <div class="bg">
  3. <div class="row fullwidth">
  4. <section id="title-area" class="medium-8 medium-push-2 columns">
  5. <h1><a href="/"><span>{{ site.title|e('html') }}</span></a></h1>
  6. <h2>{{ site.subtitle|e('html') }}</h2>
  7. </section>
  8. <nav id="left-nav" class="nav small-6 medium-2 medium-pull-8 columns">
  9. <div class="wrapper">
  10. <ul class="left">
  11. {% for page in pages.children %}
  12. {% if page.menu != "home" and page.menu != "Catégories" %}
  13. <li><a href="{{ page.url }}">{{ page.menu }}</a></li>
  14. {% endif %}
  15. {% endfor %}
  16. </ul>
  17. </div>
  18. </nav>
  19. <nav id="right-nav" class="nav small-6 medium-2 columns">
  20. {% if config.plugins.taxonomylist.enabled %}
  21. <div class="wrapper">
  22. <h4><a href="/categories">Catégories</a></h4>
  23. {% include 'partials/tagslist.html.twig' with {'base_url':"/categories/", 'taxonomy':'tag'} %}
  24. </div>
  25. {% endif %}
  26. </nav>
  27. </div>
  28. </div>
  29. </header>