Skip to content
Extraits de code Groupes Projets
Valider 856f5ad3 rédigé par real3t@gmail.com's avatar real3t@gmail.com
Parcourir les fichiers

[SoyezCréateurs] quelques ajustements pour améliorer les webperfs

parent 7c091934
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -3,10 +3,11 @@
<BOUCLE_RubriqueBandeauPartenaires(RUBRIQUES){titre_mot=BandeauPartenaires}>
<B_SitesBandeauPartenaires>
<div class="flexbox-wrap-space-around">
<BOUCLE_SitesBandeauPartenaires(SITES){id_rubrique}{par num nom_site}>
[<div class="flexbox--center #EDIT{nom_site}">
<a href="#URL_SITE" class="spip_out" title="[(#NOM_SITE|supprimer_tags|attribut_html)][ : (#DESCRIPTIF|supprimer_tags|attribut_html)]"><img src="(#LOGO_SITE_NORMAL|image_reduire{0,60}|extraire_attribut{src})" alt="[(#NOM_SITE|supprimer_tags|attribut_html)]" /></a>
</div>]
<BOUCLE_SitesBandeauPartenaires(SITES){id_rubrique}{par num nom_site}{logo}>
<div class="flexbox--center #EDIT{nom_site}">
[(#SET{picto,[(#LOGO_SITE_NORMAL|image_reduire{0,60})]})]
<a href="#URL_SITE" class="spip_out" title="[(#NOM_SITE|supprimer_tags|attribut_html)][ : (#DESCRIPTIF|supprimer_tags|attribut_html)]"><img src="[(#GET{picto}|extraire_attribut{src})]" width="[(#GET{picto}|largeur)]" height="[(#GET{picto}|hauteur)]" alt="[(#NOM_SITE|supprimer_tags|attribut_html)]" loading="lazy" /></a>
</div>
</BOUCLE_SitesBandeauPartenaires>
</div>
</B_SitesBandeauPartenaires>
......
<B_CycloShow>
<!-- SLIDER -->
<div id="cycloshow" class="zone-slider">
<div class="slider-slick">
<BOUCLE_CycloShow(ARTICLES){titre_mot=CycloShow}{par num titre}{!par date}{lang}>
<div class="slider show-for-medium" role="region" aria-label="Diaporama d'accueil">
<div class="slider-diapo-imgfull">
<a href="#URL_ARTICLE" tabindex="-1">
<img src="[(#LOGO_ARTICLE_NORMAL|sinon{#CHEMIN{images/placeholder.jpg}}|image_focus{[(#CONFIG{soyezcreateurs/variante_bloccycloshow,contenu}|=={contenu}|?{#CONFIG{soyezcreateurs_layout/largeurconteneur,960},1920})],#CONFIG{soyezcreateurs/hauteur_slider,580}}|extraire_attribut{src})]" alt="">
<div class="slider-content desc-gauche text-center">
<h3 class="#EDIT{titre}">#TITRE</h3>
[<p class="hide-for-small-only #EDIT{descriptif}">(#DESCRIPTIF|ptobr)</p>]
[<p class="hide-for-small-only">(#INCLURE{fond=noisettes/liste_auteurs,id_article,nodiv=1,nolink=1})</p>]
[<p class="hide-for-small-only">(#INCLURE{fond=noisettes/aff_datepublication,id_article,lang})</p>]
</div>
</a>
</div>
</div>
</BOUCLE_CycloShow>
</div>
</div>
</B_CycloShow>
<B_CycloShow>
<!-- SLIDER -->
<div id="cycloshow" class="zone-slider">
<div class="slider-slick">
<BOUCLE_CycloShow(ARTICLES){titre_mot=CycloShow}{par num titre}{!par date}{lang}>
<div class="slider show-for-medium" role="region" aria-label="Diaporama d'accueil">
<div class="slider-diapo-imgfull">
<a href="#URL_ARTICLE" tabindex="-1">
[(#SET{picto,[(#LOGO_ARTICLE_NORMAL|sinon{#LOGO_RUBRIQUE_NORMAL}|sinon{#CHEMIN{images/placeholder.jpg}}|image_focus{[(#CONFIG{soyezcreateurs/variante_bloccycloshow,contenu}|=={contenu}|?{#CONFIG{soyezcreateurs_layout/largeurconteneur,960},1920})],#CONFIG{soyezcreateurs/hauteur_slider,580}}|image_aplatir{jpg,#CONFIG{soyezcreateurs_couleurs/container_bk,#f6f6f6}})]})]
<img src="[(#GET{picto}|extraire_attribut{src})]" width="[(#GET{picto}|largeur)]" height="[(#GET{picto}|hauteur)]" alt="" loading="lazy" />
<div class="slider-content desc-gauche text-center">
<h3 class="#EDIT{titre}">#TITRE</h3>
[<p class="hide-for-small-only #EDIT{descriptif}">(#DESCRIPTIF|ptobr)</p>]
[<p class="hide-for-small-only">(#INCLURE{fond=noisettes/liste_auteurs,id_article,nodiv=1,nolink=1})</p>]
[<p class="hide-for-small-only">(#INCLURE{fond=noisettes/aff_datepublication,id_article,lang})</p>]
</div>
</a>
</div>
</div>
</BOUCLE_CycloShow>
</div>
</div>
</B_CycloShow>
#FILTRE{mini_html}
\ No newline at end of file
<B_GroupeBlocsDefilants>
<!-- PRATIQUE -->
<div id="pratique" class="zone-pratique">
<BOUCLE_GroupeBlocsDefilants(RUBRIQUES){titre_mot=Goodies}{par num titre}>
<B_BlocsDefilants>
<header class="titre-sommaire">
<h1[ title="(#DESCRIPTIF|attribut_html)"] class="#EDIT{titre}"><span>#TITRE</span></h1>
</header>
<div role="region" aria-label="[(#TITRE|attribut_html)]">
<div class="slider-pratique">
<BOUCLE_BlocsDefilants(ARTICLES){id_rubrique}{par num titre}{lang}{!archive}>
<div class="content-pratique #EDIT{titre}">
<a href="#ARTICLE_URL"[ title="(#DESCRIPTIF|attribut_html)"]>
<img src="[(#LOGO_ARTICLE_SURVOL|sinon{#LOGO_ARTICLE_NORMAL}|sinon{#CHEMIN{images/placeholder.jpg}}|image_focus{280,190}|extraire_attribut{src})]" alt="" />
<div class="h2"><span class="titre-pratique">#TITRE</span>
<span class="icon icon-arrow-right2 icon-lg">&#10140;</span></div>
</a>
</div>
</BOUCLE_BlocsDefilants>
</div>
</div>
</B_BlocsDefilants>
</BOUCLE_GroupeBlocsDefilants>
</div>
<!-- fin PRATIQUE -->
</B_GroupeBlocsDefilants>
<B_GroupeBlocsDefilants>
<!-- PRATIQUE -->
<div id="pratique" class="zone-pratique">
<BOUCLE_GroupeBlocsDefilants(RUBRIQUES){titre_mot=Goodies}{par num titre}>
<B_BlocsDefilants>
<header class="titre-sommaire">
<h1[ title="(#DESCRIPTIF|attribut_html)"] class="#EDIT{titre}"><span>#TITRE</span></h1>
</header>
<div role="region" aria-label="[(#TITRE|attribut_html)]">
<div class="slider-pratique">
<BOUCLE_BlocsDefilants(ARTICLES){id_rubrique}{par num titre}{lang}{!archive}>
<div class="content-pratique #EDIT{titre}">
<a href="#ARTICLE_URL"[ title="(#DESCRIPTIF|attribut_html)"]>
[(#SET{picto,[(#LOGO_ARTICLE_SURVOL|sinon{#LOGO_ARTICLE_NORMAL}|sinon{#LOGO_RUBRIQUE_NORMAL}|sinon{#CHEMIN{images/placeholder.jpg}}|image_focus{280,190})]})]
<img src="[(#GET{picto}|extraire_attribut{src})]" width="[(#GET{picto}|largeur)]" height="[(#GET{picto}|hauteur)]" alt="" loading="lazy" />
<div class="h2"><span class="titre-pratique">#TITRE</span>
<span class="icon icon-arrow-right2 icon-lg">&#10140;</span></div>
</a>
</div>
</BOUCLE_BlocsDefilants>
</div>
</div>
</B_BlocsDefilants>
</BOUCLE_GroupeBlocsDefilants>
</div>
<!-- fin PRATIQUE -->
</B_GroupeBlocsDefilants>
#FILTRE{mini_html}
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter