-
https://developer.mozilla.org/fr/docs/Web/HTML/Element/mainreal3t@gmail.com a rédigé
D'après https://developer.mozilla.org/fr/docs/Web/HTML/Element/main en plus de <main> il faut doubler avec le rôle aria correspondant
https://developer.mozilla.org/fr/docs/Web/HTML/Element/mainreal3t@gmail.com a rédigéD'après https://developer.mozilla.org/fr/docs/Web/HTML/Element/main en plus de <main> il faut doubler avec le rôle aria correspondant
site.html 6,59 Kio
<BOUCLE_site(SITES){id_syndic}>
[(#SET{titretop,<:sites_web|sc_nettoyer_marqueur:>_[(#NOM_SITE|typo|sc_nettoyer_marqueur)]})]
<BOUCLE_ArticleSyndiqueTitre(SYNDIC_ARTICLES) {id_syndic_article} >
[(#REM) Passer par SET et GET pour ne pas avoir de trim sur l'espace final ! ]
[(#SET{title,[(#TITRE|typo|supprimer_tags|texte_script) - ][(#NOM_SITE|typo|supprimer_tags|texte_script) ]})]
<BOUCLE_NoIndexSite(MOTS){id_syndic}{titre=NoIndex}>#SET{noindex,1}</BOUCLE_NoIndexSite>
<INCLURE{fond=noisettes/header/header}
{metadescription=(#DESCRIPTIF|couper{150}|supprimer_tags|attribut_html)}
{title=#GET{title}(<:sites_web:>)}
{titretop=#GET{titretop}}
{rubriqueencours=#ID_RUBRIQUE}
{id_secteur}
{id_rubrique}
{secteurencours=#ID_SECTEUR}
{noindex=#GET{noindex}}
>
</BOUCLE_ArticleSyndiqueTitre>
[(#SET{title,[(#NOM_SITE|typo|supprimer_tags|texte_script) ]})]
<INCLURE{fond=noisettes/header/header}
{metadescription=(#DESCRIPTIF|couper{150}|supprimer_tags|attribut_html)}
{title=#GET{title}(<:sites_web:>)}
{titretop=#GET{titretop}}
{rubriqueencours=#ID_RUBRIQUE}
{id_secteur}
{id_rubrique}
{secteurencours=#ID_SECTEUR}
>
<//B_ArticleSyndiqueTitre>
<nav id="miettesdepain">
<h2 class="nocontent offscreen">Fil d'Ariane</h2>
<ul>
<li><a href="#URL_SITE_SPIP" title="<:soyezcreateurs:accueil_site|attribut_html:>"><:soyezcreateurs:accueil:></a></li>
<BOUCLE_ariane(HIERARCHIE){id_syndic}{!titre_mot=PasDansFildAriane}><li><a href="#URL_RUBRIQUE" title="[(#DESCRIPTIF|attribut_html)]">[(#TITRE)]</a></li></BOUCLE_ariane><li><a href="#URL_PAGE{site}"><:sites_web:></a></li>
<BOUCLE_UnArticleSyndique(SYNDIC_ARTICLES) {id_syndic_article}>
<li><a href="[(#ID_SYNDIC|generer_url_entite{'site'})]">[(#NOM_SITE|typo)]</a></li>
<li>[(#TITRE|typo)]</li>
</BOUCLE_UnArticleSyndique>
<li>[(#NOM_SITE|typo|couper{80})]</li>
<//B_UnArticleSyndique>
</ul>
</nav>
<div class="texte">
<main id="main" role="main">
<!-- Contenu : corps du site syndiqu -->
<div class="cartouche">
<div class="titrepage"><h1 class="titre">[<img src="(#LOGO_SITE_NORMAL|sinon{#LOGO_SITE}|image_reduire{#CONFIG{soyezcreateurs_layout/largeurlogocontenuautomatique,64},#CONFIG{soyezcreateurs_layout/hauteurlogocontenuautomatique,64}}|extraire_attribut{src})" class="logo_site" alt="" width="[(#LOGO_SITE_NORMAL|sinon{#LOGO_SITE}|image_reduire{#CONFIG{soyezcreateurs_layout/largeurlogocontenuautomatique,64},#CONFIG{soyezcreateurs_layout/hauteurlogocontenuautomatique,64}}|largeur)]" height="[(#LOGO_SITE_NORMAL|sinon{#LOGO_SITE}|image_reduire{#CONFIG{soyezcreateurs_layout/largeurlogocontenuautomatique,64},#CONFIG{soyezcreateurs_layout/hauteurlogocontenuautomatique,64}}|hauteur)]" />]
<:sites_web:> :
<span class="#EDIT{nom_site}">[(#NOM_SITE|typo)]</span>
</h1></div>
<div class="datepublication"><span><:soyezcreateurs:publiele:> [(#DATE|nom_jour)] [(#DATE|affdate)]</span></div>
</div>
[(#NOTES|vide)]
<div id="letexte">
[<p class="urlsite">⇒ <a href="#URL_SITE" class="spip_out">(#URL_SITE|couper{80})</a></p>]
[<div class="#EDIT{descriptif} chapo">(#DESCRIPTIF)</div>]
[<div class="notes">(#NOTES)</div>]
[<div id="carto">(#PLUGIN{GIS}|oui)[(#INCLURE{fond=json/gis_sites,id_syndic,limit=1}|oui)[(#INCLURE{fond=modeles/carte_gis,id_syndic,autocenterandzoom=oui,objets=sites,hauteur=#CONFIG{soyezcreateurs_layout/hauteurgisarticles,400px},cluster=oui,maxClusterRadius=40,clusterShowCoverageOnHover=oui,clusterSpiderfyOnMaxZoom=oui,fullscreen=oui})]]
</div>]
[(#REM) Affichage du dtail de la syndication si applicable ]
<B_ArticleSyndique>
<div class="syndic">
<BOUCLE_ArticleSyndique(SYNDIC_ARTICLES) {id_syndic_article} >
<h2 class="#EDIT{titre}">[(#TITRE|typo)]</h2>
[<div class="enclosures">(#TAGS|afficher_enclosures)</div>]
<small>[(#DATE|affdate_court)][, <:par_auteur:> (#LESAUTEURS)][ — <em>(#TAGS|afficher_tags|supprimer_tags)</em>]</small>
[<div class="#EDIT{descriptif}">(#DESCRIPTIF|propre|image_reduire{300})</div>]
[<p class="#EDIT{url_article} hyperlien">→ <a href="(#URL_ARTICLE*)" class="spip_out" title="[<:soyezcreateurs:liresuitede|typo|texte_script|supprimer_tags|attribut_html:> (#TITRE|typo|texte_script|supprimer_tags|attribut_html)]"><:soyezcreateurs:liresuitesyndic|typo:></a></p><br class="nettoyeur" />]
</BOUCLE_ArticleSyndique>
</div>
</B_ArticleSyndique>
[(#REM) Articles issus de la syndication ]
<B_articles>
<div class="syndic">
#ANCRE_PAGINATION
<h2><:sites:titre_articles_syndiques:></h2>
<dl>
<BOUCLE_articles(SYNDIC_ARTICLES) {id_syndic} {!par date} {pagination}>
<dt class="#EDIT{titre}"><a href="[(#ID_SYNDIC|generer_url_entite{'site'}|parametre_url{'id_syndic_article',#ID_SYNDIC_ARTICLE})]">[(#TITRE|typo)]</a></dt>
<dd>
<small>[(#DATE|affdate_court)][, <:par_auteur:> (#LESAUTEURS)]</small>
[<div class="#EDIT{descriptif}">(#DESCRIPTIF|typo|couper{300}|image_reduire{300})
<br class="nettoyeur" /></div>]
</dd>
</BOUCLE_articles>
</dl>
[<p class="pagination">(#PAGINATION)</p>]
</div>
</B_articles>
<//B_ArticleSyndique>
[<div class="notes"><h2><:info_notes:></h2>(#NOTES)</div>]
</div><!-- Fin de .letexte -->
</main>
</div><!-- Fin de #texte -->
<INCLURE{fond=noisettes/footer/footer}
{rubriqueencours=#ID_RUBRIQUE}
{id_rubrique=#ID_RUBRIQUE}
{secteurencours=#ID_SECTEUR}
{titretop=#GET{titretop}}
{template=Sites}
{jp_site=#ID_SYNDIC}
{jp_syndication=#ENV{id_syndic_article}}
>
</BOUCLE_site>
[(#SET{titretop,<:sites_web|sc_nettoyer_marqueur:>})]
<INCLURE{fond=noisettes/header/header}
{title=<:sites_web:>}
{titretop=#GET{titretop}}
>
<nav id="miettesdepain">
<h2 class="nocontent offscreen">Fil d'Ariane</h2>
<ul>
<li><a href="#URL_SITE_SPIP" title="<:soyezcreateurs:accueil_site|attribut_html:>"><:soyezcreateurs:accueil:></a></li>
<li><:sites_web:></li>
</ul>
</nav>
<div class="texte">
<main id="main" role="main">
<!-- Contenu : corps du site syndiqu -->
<div class="cartouche">
<div class="titrepage"><h1 class="titre"><:sites_web:></h1></div>
</div>
<div id="letexte">
[(#INCLURE{fond=noisettes/sites_rubriques})]
[<div id="carto">
(#PLUGIN{GIS}|oui)[(#INCLURE{fond=json/gis_sites,limit=500}|oui)[(#INCLURE{fond=modeles/carte_gis,objets=sites,autocenterandzoom=oui,hauteur=#CONFIG{soyezcreateurs_layout/hauteurgisarticles,400px},cluster=oui,maxClusterRadius=40,clusterShowCoverageOnHover=oui,clusterSpiderfyOnMaxZoom=oui,fullscreen=oui})]]
</div>]
</div><!-- Fin de .letexte -->
</main>
</div><!-- Fin de #texte -->
<INCLURE{fond=noisettes/footer/footer}
{secteurencours=#GET{secteurencours}}
{titretop=#GET{titretop}}
{template=Sites}
>
<//B_site>
#FILTRE{mini_html}