Browse Source

Pas besoin d'un squelette spécifique, il suffit de tester le type de page

pull/3/head
nicod@lerebooteux.fr 2 years ago
parent
commit
0874f9ec1a
  1. 1
      .gitattributes
  2. 2
      header/dist.html
  3. 7
      header/sommaire.html

1
.gitattributes

@ -43,7 +43,6 @@ head/site.html -text
head/sommaire.html -text
head_js/dist.html -text
header/dist.html -text
header/sommaire.html -text
images/favicon-footer.svg -text
images/favicon-head.png -text
images/favicon-topnav.svg -text

2
header/dist.html

@ -1,5 +1,5 @@
<div class="header__nav">
[<a rel="start" href="#URL_SITE_SPIP">(#MODELE{logo_svg_sinon_logo_site_spip})<span class="visuallyhidden"><:accueil_site:></span></a>]
[(#ENV{type-page}|=={sommaire}|non)<a rel="start" href="#URL_SITE_SPIP">][(#MODELE{logo_svg_sinon_logo_site_spip})]<span class="visuallyhidden"><:accueil_site:></span>[(#ENV{type-page}|=={sommaire}|non)</a>]
<INCLURE{fond=inclure/menu_lang}{lang} />
</div>
<div class="header__search">

7
header/sommaire.html

@ -1,7 +0,0 @@
<div class="header__nav">
[(#MODELE{logo_svg_sinon_logo_site_spip})]
<INCLURE{fond=inclure/menu_lang}{lang} />
</div>
<div class="header__search">
#FORMULAIRE_RECHERCHE
</div>
Loading…
Cancel
Save