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 @@ ...@@ -3,10 +3,11 @@
<BOUCLE_RubriqueBandeauPartenaires(RUBRIQUES){titre_mot=BandeauPartenaires}> <BOUCLE_RubriqueBandeauPartenaires(RUBRIQUES){titre_mot=BandeauPartenaires}>
<B_SitesBandeauPartenaires> <B_SitesBandeauPartenaires>
<div class="flexbox-wrap-space-around"> <div class="flexbox-wrap-space-around">
<BOUCLE_SitesBandeauPartenaires(SITES){id_rubrique}{par num nom_site}> <BOUCLE_SitesBandeauPartenaires(SITES){id_rubrique}{par num nom_site}{logo}>
[<div class="flexbox--center #EDIT{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> [(#SET{picto,[(#LOGO_SITE_NORMAL|image_reduire{0,60})]})]
</div>] <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> </BOUCLE_SitesBandeauPartenaires>
</div> </div>
</B_SitesBandeauPartenaires> </B_SitesBandeauPartenaires>
......
<B_CycloShow> <B_CycloShow>
<!-- SLIDER --> <!-- SLIDER -->
<div id="cycloshow" class="zone-slider"> <div id="cycloshow" class="zone-slider">
<div class="slider-slick"> <div class="slider-slick">
<BOUCLE_CycloShow(ARTICLES){titre_mot=CycloShow}{par num titre}{!par date}{lang}> <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 show-for-medium" role="region" aria-label="Diaporama d'accueil">
<div class="slider-diapo-imgfull"> <div class="slider-diapo-imgfull">
<a href="#URL_ARTICLE" tabindex="-1"> <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=""> [(#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}})]})]
<div class="slider-content desc-gauche text-center"> <img src="[(#GET{picto}|extraire_attribut{src})]" width="[(#GET{picto}|largeur)]" height="[(#GET{picto}|hauteur)]" alt="" loading="lazy" />
<h3 class="#EDIT{titre}">#TITRE</h3> <div class="slider-content desc-gauche text-center">
[<p class="hide-for-small-only #EDIT{descriptif}">(#DESCRIPTIF|ptobr)</p>] <h3 class="#EDIT{titre}">#TITRE</h3>
[<p class="hide-for-small-only">(#INCLURE{fond=noisettes/liste_auteurs,id_article,nodiv=1,nolink=1})</p>] [<p class="hide-for-small-only #EDIT{descriptif}">(#DESCRIPTIF|ptobr)</p>]
[<p class="hide-for-small-only">(#INCLURE{fond=noisettes/aff_datepublication,id_article,lang})</p>] [<p class="hide-for-small-only">(#INCLURE{fond=noisettes/liste_auteurs,id_article,nodiv=1,nolink=1})</p>]
</div> [<p class="hide-for-small-only">(#INCLURE{fond=noisettes/aff_datepublication,id_article,lang})</p>]
</a> </div>
</div> </a>
</div> </div>
</BOUCLE_CycloShow> </div>
</div> </BOUCLE_CycloShow>
</div> </div>
</B_CycloShow> </div>
</B_CycloShow>
#FILTRE{mini_html} #FILTRE{mini_html}
\ No newline at end of file
<B_GroupeBlocsDefilants> <B_GroupeBlocsDefilants>
<!-- PRATIQUE --> <!-- PRATIQUE -->
<div id="pratique" class="zone-pratique"> <div id="pratique" class="zone-pratique">
<BOUCLE_GroupeBlocsDefilants(RUBRIQUES){titre_mot=Goodies}{par num titre}> <BOUCLE_GroupeBlocsDefilants(RUBRIQUES){titre_mot=Goodies}{par num titre}>
<B_BlocsDefilants> <B_BlocsDefilants>
<header class="titre-sommaire"> <header class="titre-sommaire">
<h1[ title="(#DESCRIPTIF|attribut_html)"] class="#EDIT{titre}"><span>#TITRE</span></h1> <h1[ title="(#DESCRIPTIF|attribut_html)"] class="#EDIT{titre}"><span>#TITRE</span></h1>
</header> </header>
<div role="region" aria-label="[(#TITRE|attribut_html)]"> <div role="region" aria-label="[(#TITRE|attribut_html)]">
<div class="slider-pratique"> <div class="slider-pratique">
<BOUCLE_BlocsDefilants(ARTICLES){id_rubrique}{par num titre}{lang}{!archive}> <BOUCLE_BlocsDefilants(ARTICLES){id_rubrique}{par num titre}{lang}{!archive}>
<div class="content-pratique #EDIT{titre}"> <div class="content-pratique #EDIT{titre}">
<a href="#ARTICLE_URL"[ title="(#DESCRIPTIF|attribut_html)"]> <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="" /> [(#SET{picto,[(#LOGO_ARTICLE_SURVOL|sinon{#LOGO_ARTICLE_NORMAL}|sinon{#LOGO_RUBRIQUE_NORMAL}|sinon{#CHEMIN{images/placeholder.jpg}}|image_focus{280,190})]})]
<div class="h2"><span class="titre-pratique">#TITRE</span> <img src="[(#GET{picto}|extraire_attribut{src})]" width="[(#GET{picto}|largeur)]" height="[(#GET{picto}|hauteur)]" alt="" loading="lazy" />
<span class="icon icon-arrow-right2 icon-lg">&#10140;</span></div> <div class="h2"><span class="titre-pratique">#TITRE</span>
</a> <span class="icon icon-arrow-right2 icon-lg">&#10140;</span></div>
</div> </a>
</BOUCLE_BlocsDefilants> </div>
</div> </BOUCLE_BlocsDefilants>
</div> </div>
</B_BlocsDefilants> </div>
</BOUCLE_GroupeBlocsDefilants> </B_BlocsDefilants>
</div> </BOUCLE_GroupeBlocsDefilants>
<!-- fin PRATIQUE --> </div>
</B_GroupeBlocsDefilants> <!-- fin PRATIQUE -->
</B_GroupeBlocsDefilants>
#FILTRE{mini_html} #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.
Veuillez vous inscrire ou vous pour commenter