libreenfete-squelettes/inclure/header.html
2021-11-26 14:05:38 +00:00

42 lines
1.3 KiB
HTML
Executable File

<BOUCLE_rubrique(RUBRIQUES){id_rubrique=#ENV{id_rubrique}}>
<header>
<div class="header-Banner" role="banner">
<div class="header-Logo">
<a href="#URL_RUBRIQUE" title="Accueil Libre en fête #TITRE"></a>
</div>
<div class="header-Titre"></div>
<div class="header-Slogan">#DESCRIPTIF_SITE_SPIP</div>
</div>
<nav class="header-Nav">
<details class="header-Phone" aria-hidden="true">
<summary class="header-Burger">
<span></span>
<span></span>
<span></span>
</summary>
<ul class="header-PhoneMenu">
<li class="[(#ENV{current}|?{'', 'header-Active'})]">
<a href="#URL_RUBRIQUE">Accueil</a>
</li>
<BOUCLE_menu_articles_burger(ARTICLES){id_rubrique}{par num titre}>
[(#RANG|<{1000}|oui) <li class="[(#ID_ARTICLE|=={#ENV{current}}|?{'header-Active',''})]">
<a href="#URL_ARTICLE">#TITRE</a>
</li>]
</BOUCLE_menu_articles_burger>
</ul>
</details>
<ul class="header-Menu">
<li class="[(#ENV{current}|?{'', 'header-Active'})]">
<a href="#URL_RUBRIQUE">Accueil</a>
</li>
<BOUCLE_menu_articles(ARTICLES){id_rubrique}{par num titre}>
[(#RANG|<{1000}|oui) <li class="[(#ID_ARTICLE|=={#ENV{current}}|?{'header-Active',''})]">
<a href="#URL_ARTICLE">#TITRE</a>
</li>]
</BOUCLE_menu_articles>
</ul>
</nav>
</header>
</BOUCLE_rubrique>