_rubrique même pour le blog

This commit is contained in:
chankalan 2021-09-07 09:53:21 +02:00
parent 3516939180
commit 2a2b41540b
2 changed files with 5 additions and 5 deletions

View File

@ -15,8 +15,8 @@
<div class="liste articles blog"> <div class="liste articles blog">
[<h2 class="h2[ (#ENV{datetri}|oui)date]">(#ENV{datetri}|affdate{nom_mois})[(#ENV{datetri}|affdate{Y}|!={[(#VAL{Y}|date)]}|oui)[ (#ENV{datetri}|affdate{Y})]]</h2>] [<h2 class="h2[ (#ENV{datetri}|oui)date]">(#ENV{datetri}|affdate{nom_mois})[(#ENV{datetri}|affdate{Y}|!={[(#VAL{Y}|date)]}|oui)[ (#ENV{datetri}|affdate{Y})]]</h2>]
<ul class="liste-items"> <ul class="liste-items">
<BOUCLE_articlesdate(ARTICLES){si #ENV{datetri}|?{' '}}{date < #GET{fin_mois}}{date >= #GET{debut_mois}}{id_rubrique}{!par date}> <BOUCLE_articlesdate(ARTICLES){si #ENV{datetri}|?{' '}}{date < #GET{fin_mois}}{date >= #GET{debut_mois}}{id_rubrique}{tri_rubrique}>
<li class="item clearfix">#INCLURE{fond=inclure/resume/article,id_article,env,composition=blog,h=h3}</li> <li class="item clearfix">#INCLURE{fond=inclure/resume/article,id_article,env,composition=blog,h=h3,pagination=oui}</li>
</BOUCLE_articlesdate> </BOUCLE_articlesdate>
</ul> </ul>
</div> </div>
@ -25,8 +25,8 @@
[<h2 class="h2[ (#ENV{datetri}|oui)date]"><:baz_april:aucun_article_dans_cette_periode:> : (#ENV{datetri}|affdate{nom_mois})[(#ENV{datetri}|affdate{Y}|!={[(#VAL{Y}|date)]}|oui)[ (#ENV{datetri}|affdate{Y})]]</h2>] [<h2 class="h2[ (#ENV{datetri}|oui)date]"><:baz_april:aucun_article_dans_cette_periode:> : (#ENV{datetri}|affdate{nom_mois})[(#ENV{datetri}|affdate{Y}|!={[(#VAL{Y}|date)]}|oui)[ (#ENV{datetri}|affdate{Y})]]</h2>]
<B_articles>#ANCRE_PAGINATION <B_articles>#ANCRE_PAGINATION
<ul class="liste-items"> <ul class="liste-items">
<BOUCLE_articles(ARTICLES){id_rubrique}{lang}{!par date}{pagination 10}> <BOUCLE_articles(ARTICLES){id_rubrique}{lang}{tri_rubrique}{pagination 10}>
<li class="item clearfix">#INCLURE{fond=inclure/resume/article,id_article,env,composition=blog,h=h3}</li> <li class="item clearfix">#INCLURE{fond=inclure/resume/article,id_article,env,composition=blog,h=h3,pagination=oui}</li>
</BOUCLE_articles> </BOUCLE_articles>
</ul> </ul>
[<div class="pagination">(#PAGINATION)</div>] [<div class="pagination">(#PAGINATION)</div>]

View File

@ -20,7 +20,7 @@
<h2><a href="#URL_RUBRIQUE">#TITRE</a></h2> <h2><a href="#URL_RUBRIQUE">#TITRE</a></h2>
<div class="liste_articles"> <div class="liste_articles">
<BOUCLE_articles_rub(ARTICLES){id_rubrique} {tri_rubrique} {0,3}> <BOUCLE_articles_rub(ARTICLES){id_rubrique} {tri_rubrique} {0,3}>
#INCLURE{fond=inclure/resume/article, id_article} <INCLURE{fond=inclure/resume/article, id_article} />
</BOUCLE_articles_rub> </BOUCLE_articles_rub>
</div> </div>
<p class="liste_articles__suite"><a href="#URL_RUBRIQUE">Tous les articles &laquo;&nbsp;#TITRE&nbsp;&raquo;</a></p> <p class="liste_articles__suite"><a href="#URL_RUBRIQUE">Tous les articles &laquo;&nbsp;#TITRE&nbsp;&raquo;</a></p>