pagination + blog : liste et aside
This commit is contained in:
parent
780c36a43a
commit
129ea5c11a
@ -1,7 +1,7 @@
|
|||||||
<paquet
|
<paquet
|
||||||
prefix="baz_april"
|
prefix="baz_april"
|
||||||
categorie="squelette"
|
categorie="squelette"
|
||||||
version="2.5.2"
|
version="2.5.3"
|
||||||
schema="1.0.1"
|
schema="1.0.1"
|
||||||
etat="stable"
|
etat="stable"
|
||||||
compatibilite="[3.2.0;4.0.*]"
|
compatibilite="[3.2.0;4.0.*]"
|
||||||
|
@ -1,17 +1,21 @@
|
|||||||
<BOUCLE_article(ARTICLES){id_article}>
|
<BOUCLE_article(ARTICLES){id_article}><BOUCLE_test(ARTICLES){id_rubrique}{1,2}>
|
||||||
|
#SET{plusdun,oui}</BOUCLE_test>
|
||||||
|
[(#PS|ou{#GET{plusdun}|=={oui}}|oui)<aside class="page_aside">]
|
||||||
[<div class="ps">
|
[<div class="ps">
|
||||||
<div class="#EDIT{ps} article__ps">(#PS|image_reduire{#CONST{_CONTENT_WIDTH},0})</div>
|
<div class="#EDIT{ps} article__ps">(#PS|image_reduire{#CONST{_CONTENT_WIDTH},0})</div>
|
||||||
</div>]
|
</div>]
|
||||||
|
|
||||||
</BOUCLE_article>
|
[(#REM) Articles dans la meme rubrique ]
|
||||||
[(#REM) Articles dans la meme rubrique ]
|
<B_articles_rubrique>
|
||||||
<B_articles_rubrique>
|
<div class="liste articles blog">
|
||||||
#ANCRE_PAGINATION
|
#ANCRE_PAGINATION
|
||||||
<ul>
|
<ul class="liste-items">
|
||||||
<BOUCLE_articles_rubrique(ARTICLES) {id_rubrique} {tri_rubrique} {pagination 5}>
|
<BOUCLE_articles_rubrique(ARTICLES) {id_rubrique} {tri_rubrique} {pagination 5}>
|
||||||
<li><INCLURE{fond=inclure/resume/article,id_article} /></li>
|
<li class="item"><INCLURE{fond=inclure/resume/article,id_article} /></li>
|
||||||
</BOUCLE_articles_rubrique>
|
</BOUCLE_articles_rubrique>
|
||||||
</ul>
|
</ul>
|
||||||
[<p class="pagination">(#PAGINATION{page})</p>]
|
[<p class="pagination">(#PAGINATION{page})</p>]
|
||||||
</B_articles_rubrique>
|
</div>
|
||||||
|
</B_articles_rubrique>
|
||||||
|
[(#PS|ou{#GET{plusdun}|=={oui}}|oui)</aside>]
|
||||||
|
</BOUCLE_article>
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
<BOUCLE_articles(ARTICLES) {id_article}>
|
<BOUCLE_articles(ARTICLES) {id_article}>
|
||||||
<article class="article-resume[ article-resume--(#ENV{class})] block-link-parent[(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|oui) hero]">
|
<article class="article-resume[ article-resume--(#ENV{class})] block-link-parent[(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|oui) hero]">
|
||||||
<div class="article-resume__logo">[(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|oui)<a href="#URL_ARTICLE" title="#TITRE">]
|
[(#LOGO_ARTICLE_NORMAL|oui)<div class="article-resume__logo">][(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|oui)<a href="#URL_ARTICLE" title="#TITRE">]
|
||||||
[(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|oui)
|
[(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|oui)
|
||||||
[(#LOGO_ARTICLE_NORMAL|sinon{#CHEMIN{images/nologo.png}}|image_recadre{#CONST{_IMAGE_RATIO}, -, focus}|image_reduire{240})]
|
[(#LOGO_ARTICLE_NORMAL|sinon{#CHEMIN{images/nologo.png}}|image_recadre{#CONST{_IMAGE_RATIO}, -, focus}|image_reduire{240})]
|
||||||
][(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|non)
|
][(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|non)
|
||||||
[(#LOGO_ARTICLE_NORMAL|sinon{#CHEMIN{images/nologo.png}}|image_recadre{#CONST{_IMAGE_RATIO}, -, focus}|image_reduire{140})]
|
[(#LOGO_ARTICLE_NORMAL|sinon{#CHEMIN{images/nologo.png}}|image_recadre{#CONST{_IMAGE_RATIO}, -, focus}|image_reduire{140})]
|
||||||
]
|
]
|
||||||
[(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|oui)</a>]</div>
|
[(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|oui)</a>][(#LOGO_ARTICLE_NORMAL|oui)</div>]
|
||||||
<div class="article-resume__texte">
|
<div class="article-resume__texte">
|
||||||
<[(#ENV{h,h2})] class="article-resume__titre"><a href="#URL_ARTICLE" class="[(#ENV{hero}|=={oui}|oui)[(#ENV{compteur}|=={1}|non)block-link]][(#ENV{hero}|=={oui}|non)block-link][ (#ENV{class_link})]">#TITRE</a></[(#ENV{h,h2})]>
|
<[(#ENV{h,h2})] class="article-resume__titre"><a href="#URL_ARTICLE" class="[(#ENV{hero}|=={oui}|oui)[(#ENV{compteur}|=={1}|non)block-link]][(#ENV{hero}|=={oui}|non)block-link][ (#ENV{class_link})]">#TITRE</a></[(#ENV{h,h2})]>
|
||||||
<p class="article-resume__soustitre">#SOUSTITRE</p>[(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|oui)[(#COMPOSITION|=={blog}|non)
|
[<p class="article-resume__soustitre">(#SOUSTITRE)</p>][(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|oui)[(#COMPOSITION|=={blog}|non)
|
||||||
<a href="#URL_ARTICLE" class="btn[ (#ENV{class_link})]"><:baz_april:lire:></a>]]
|
<a href="#URL_ARTICLE" class="btn[ (#ENV{class_link})]"><:baz_april:lire:></a>]]
|
||||||
<div class="article-resume__infos">
|
<div class="article-resume__infos">
|
||||||
[<span class="article-resume__date">(#DATE|nom_jour|ucfirst) [(#DATE|affdate)]</span>]
|
[<span class="article-resume__date">(#DATE|nom_jour|ucfirst) [(#DATE|affdate)]</span>]
|
||||||
|
@ -60,6 +60,12 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.pagination_ancre {
|
||||||
|
@include visuallyhidden;
|
||||||
|
padding:0 !important;
|
||||||
|
margin:0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
.col .prev,
|
.col .prev,
|
||||||
.col .next {
|
.col .next {
|
||||||
display: none;
|
display: none;
|
||||||
|
Loading…
Reference in New Issue
Block a user