Adaptation pour SPIP du squelette «Twenty» de html5up https://html5up.net/twenty
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

61 lines
1.4 KiB

[(#REM)
L'ordre d'affichage selon la configuration du plugin :
par num titre (défaut) ou inverse chronologique
][(#CONFIG{html5up_twenty/accueil_rubrique_special_tri}|?{
[(#SET{tri,date})][
(#SET{sens_tri,1})]
,
[(#SET{tri,num titre})][
(#SET{sens_tri,0})]
})]
<BOUCLE_rubrique_special(RUBRIQUES)
{id_rubrique IN #CONFIG{html5up_twenty/accueil_rubrique_special}|picker_selected{rubrique}}>
<section class="wrapper style3 container special">
<header class="major">
<h2>#TITRE</h2>
</header>
<B_article_special>
<div class="row">
<BOUCLE_article_special(ARTICLES)
{id_rubrique}
{tri #GET{tri}}
{inverse #GET{sens_tri}}
{0,4}>
<div class="col-6 col-12-narrower">
<section>
<a href="#URL_ARTICLE" class="image featured">
[(#LOGO_ARTICLE_RUBRIQUE|extraire_attribut{src}
|sinon{#CHEMIN{images/visuel_defaut.jpg}}
|balise_img
|image_recadre{575:255, -, focus}
|adaptive_images{575})]
</a>
<header>
<h3>#TITRE</h3>
</header>
<p>#INTRODUCTION{220}</p>
<ul class="buttons">
<li><a href="#URL_ARTICLE" class="button primary"><:zcore:lire_la_suite:></a></li>
</ul>
</section>
</div>
</BOUCLE_article_special>
</div>
</B_article_special>
<footer class="major">
<ul class="buttons stacked">
<li><a href="#URL_RUBRIQUE" class="button"><:info_articles_tous:></a></li>
</ul>
</footer>
</section>
</BOUCLE_rubrique_special>