Browse Source

généraliser le tri par rang

et par défaut : par date inverse
master
zzzazzz 2 months ago
parent
commit
a30f84e876
9 changed files with 9 additions and 9 deletions
  1. +1
    -1
      aside/dist.html
  2. +1
    -1
      aside/rubrique-portfolio-2col.html
  3. +1
    -1
      content/rubrique-dist.html
  4. +1
    -1
      content/rubrique-portfolio-2col.html
  5. +1
    -1
      content/rubrique-portfolio.html
  6. +1
    -1
      content/rubrique-sommaire.html
  7. +1
    -1
      inclure/article-dernier.html
  8. +1
    -1
      nav/articles.html
  9. +1
    -1
      nav/rubriques.html

+ 1
- 1
aside/dist.html View File

@ -1,6 +1,6 @@
<B_aside>
<ul class="unstyled clearfix nav pos-a nav-aside">
<BOUCLE_aside(ARTICLES){id_rubrique = -1}{par num titre, date}>
<BOUCLE_aside(ARTICLES){id_rubrique = -1}{par rang}{!par date}>
<li class="inbl[(#COMPTEUR_BOUCLE|=={1}|oui) mrs]"><a href="#URL_ARTICLE" class="h1-like">#TITRE</a></li>
</BOUCLE_aside>
</ul>


+ 1
- 1
aside/rubrique-portfolio-2col.html View File

@ -1,6 +1,6 @@
<B_aside>
<ul class="unstyled clearfix nav nav-aside txtright">
<BOUCLE_aside(ARTICLES){id_rubrique = -1}{par num titre, date}>
<BOUCLE_aside(ARTICLES){id_rubrique = -1}{par rang}{!par date}>
<li class="inbl[(#COMPTEUR_BOUCLE|=={1}|oui) mrs]"><a href="#URL_ARTICLE" class="h1-like">#TITRE</a></li>
</BOUCLE_aside>
</ul>


+ 1
- 1
content/rubrique-dist.html View File

@ -1,4 +1,4 @@
<BOUCLE_redirection(ARTICLES){id_rubrique}{par date}{inverse}{0,1}>
<BOUCLE_redirection(ARTICLES){id_rubrique}{par rang}{!par date}{0,1}>
[(#COMPOSITION|?{
#INCLURE{fond=content/article-#COMPOSITION,id_article,env}
,


+ 1
- 1
content/rubrique-portfolio-2col.html View File

@ -11,7 +11,7 @@
<div class="col-10 ">
<B_article_portfolio_2col>
<ul class="unstyled grid-3-medium-2 has-gutter-s nav-photo">
<BOUCLE_article_portfolio_2col(ARTICLES){id_rubrique}>
<BOUCLE_article_portfolio_2col(ARTICLES){id_rubrique}{par rang}{!par date}>
<li class="pos-r">
<h2 class="pos-a l0 t0 d-t w100 h100 txtcenter">
<a class="d-tc txtvert w100 h100" href="#URL_ARTICLE">#TITRE</a>


+ 1
- 1
content/rubrique-portfolio.html View File

@ -1,3 +1,3 @@
<BOUCLE_redirection(ARTICLES){id_rubrique}{par date}{inverse}{0,1}>
<BOUCLE_redirection(ARTICLES){id_rubrique}{par rang}{!par date}{0,1}>
#INCLURE{fond=content/article-#COMPOSITION,id_article,env}
</BOUCLE_redirection>

+ 1
- 1
content/rubrique-sommaire.html View File

@ -11,7 +11,7 @@
</div>
<div class="col-4 mt12">
<BOUCLE_premier_article(ARTICLES){id_rubrique}{par rang, date}{0,1}>
<BOUCLE_premier_article(ARTICLES){id_rubrique}{par rang}{!par date}{0,1}>
[(#COMPOSITION|?{
#INCLURE{fond=inclure/article-#COMPOSITION,id_article,env}
,


+ 1
- 1
inclure/article-dernier.html View File

@ -1,4 +1,4 @@
<BOUCLE_une(ARTICLES){par date}{id_rubrique != -1}{0,1}>
<BOUCLE_une(ARTICLES){id_rubrique != -1}{par rang}{!par date}{0,1}>
<div class="container">
<div class="grid-12 has-gutter-l">
<div class="col-10 header">


+ 1
- 1
nav/articles.html View File

@ -1,6 +1,6 @@
<B_nav_articles>
<ul class="nav unstyled">
<BOUCLE_nav_articles(ARTICLES){id_rubrique}>
<BOUCLE_nav_articles(ARTICLES){id_rubrique}{par rang}{!par date}>
<li><a [class="(#EXPOSE)" ]href="#URL_ARTICLE">#TITRE</a></li>
</BOUCLE_nav_articles>
</ul>


+ 1
- 1
nav/rubriques.html View File

@ -16,7 +16,7 @@
<B_nav_articles>
[(#TOTAL_BOUCLE|>{1}|oui)<ul>]
<BOUCLE_nav_articles(ARTICLES){si #GET{sousmenu}|=={oui}|oui}{id_rubrique}{par rang}>
<BOUCLE_nav_articles(ARTICLES){si #GET{sousmenu}|=={oui}|oui}{id_rubrique}{par rang}{!par date}>
[(#TOTAL_BOUCLE|>{1}|oui)<li><a[ class="(#EXPOSE)"][ href="(#URL_ARTICLE)"]>#TITRE</a></li>]
</BOUCLE_nav_articles>
[(#TOTAL_BOUCLE|>{1}|oui)</ul>]


Loading…
Cancel
Save