changement de balisage des rubriques
This commit is contained in:
parent
b5c0390dea
commit
fdbd615eb5
@ -1,26 +1,28 @@
|
||||
<BOUCLE_content(RUBRIQUES){id_rubrique}>
|
||||
<section class="content" id="content">
|
||||
<article>
|
||||
<header class="cartouche">
|
||||
<h1 class="#EDIT{titre}">#TITRE</h1>
|
||||
</header>
|
||||
|
||||
<header class="cartouche">
|
||||
<h1 class="#EDIT{titre}">#TITRE</h1>
|
||||
</header>
|
||||
|
||||
<div class="main">
|
||||
[<div class="#EDIT{texte} chapo">(#TEXTE|adaptive_images{#CONST{_CONTENT_WIDTH}})</div>]
|
||||
<div class="main">
|
||||
[<div class="#EDIT{texte} chapo">(#TEXTE|adaptive_images{#CONST{_CONTENT_WIDTH}})</div>]
|
||||
|
||||
</div><!-- .main -->
|
||||
</article>
|
||||
|
||||
#SET{'debut_mois', (#ENV{datetri}|baz_moisdecal{0,'Y-m-d'})}
|
||||
#SET{'fin_mois', (#ENV{datetri}|baz_moisdecal{1,'Y-m-d'})}
|
||||
<B_articlesdate>
|
||||
<div class="liste articles blog">
|
||||
<section 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>]
|
||||
<ul class="liste-items">
|
||||
<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,pagination=oui}</li>
|
||||
</BOUCLE_articlesdate>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
</B_articlesdate>
|
||||
<div class="liste articles blog">
|
||||
<section class="liste articles blog">
|
||||
[<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
|
||||
<ul class="liste-items">
|
||||
@ -28,16 +30,16 @@
|
||||
<li class="item clearfix">#INCLURE{fond=inclure/resume/article,id_article,env,composition=blog,h=h3,pagination=oui}</li>
|
||||
</BOUCLE_articles>
|
||||
</ul>
|
||||
[<div class="pagination">(#PAGINATION)</div>]
|
||||
[<nav class="pagination" role="pagination">(#PAGINATION)</nav>]
|
||||
</B_articles>
|
||||
</div>
|
||||
</section>
|
||||
<//B_articlesdate>
|
||||
|
||||
[(#REM) pour les sous-rubriques, on utilise le modele <rubriqueXX|rubriques> dans le texte si on veut]
|
||||
|
||||
</div><!-- .main -->
|
||||
|
||||
<aside>
|
||||
|
||||
|
||||
[(#REM) Gestion du portfolio et des documents ]
|
||||
[(#INCLURE{fond=inclure/documents,id_rubrique})]
|
||||
|
||||
@ -69,5 +71,4 @@
|
||||
[<div class="notes"><h2><:info_notes:></h2>(#NOTES)</div>]
|
||||
</footer>
|
||||
|
||||
</section>
|
||||
</BOUCLE_content>
|
||||
|
@ -1,9 +1,13 @@
|
||||
<BOUCLE_principale(RUBRIQUES){id_rubrique}>
|
||||
<article>
|
||||
<header class="cartouche">
|
||||
<h1 class="#EDIT{titre} page_titre">#TITRE</h1>
|
||||
</header>
|
||||
[<div class="#EDIT{texte} texte surlignable">(#TEXTE|adaptive_images{#CONST{_CONTENT_WIDTH}})</div>]
|
||||
</article>
|
||||
|
||||
<h1 class="#EDIT{titre} page_titre">#TITRE</h1>
|
||||
|
||||
[<div class="#EDIT{texte} texte surlignable">(#TEXTE|adaptive_images{#CONST{_CONTENT_WIDTH}})</div>]
|
||||
|
||||
<INCLURE{fond=inclure/liste/dernieres_chroniques,ajax,env} />
|
||||
<section class="dernieres_chroniques">
|
||||
<INCLURE{fond=inclure/liste/dernieres_chroniques,ajax,env} />
|
||||
</section>
|
||||
|
||||
</BOUCLE_principale>
|
||||
|
@ -1,13 +1,15 @@
|
||||
<BOUCLE_principale(RUBRIQUES){id_rubrique}>
|
||||
<article>
|
||||
<header class="cartouche">
|
||||
<h1 class="#EDIT{titre} page_titre">#TITRE</h1>
|
||||
</header>
|
||||
[<div class="#EDIT{texte} texte surlignable">(#TEXTE|adaptive_images{#CONST{_CONTENT_WIDTH}})</div>]
|
||||
</article>
|
||||
|
||||
<h1 class="#EDIT{titre} page_titre">#TITRE</h1>
|
||||
|
||||
[<div class="#EDIT{texte} texte surlignable">(#TEXTE|adaptive_images{#CONST{_CONTENT_WIDTH}})</div>]
|
||||
|
||||
<div class="derniere_emission">
|
||||
<section class="derniere_emission">
|
||||
<h2><:libreavous:derniere_emission:></h2>
|
||||
<INCLURE{fond=inclure/derniere_emission} />
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<INCLURE{fond=inclure/liste/emissions-precedentes,ajax,env,debutliste=10} />
|
||||
|
||||
|
@ -1,27 +1,31 @@
|
||||
<BOUCLE_principale(RUBRIQUES){id_rubrique}>
|
||||
<article>
|
||||
|
||||
<h1 class="#EDIT{titre} page_titre">#TITRE</h1>
|
||||
<header class="cartouche">
|
||||
<h1 class="#EDIT{titre} page_titre">#TITRE</h1>
|
||||
</header>
|
||||
|
||||
[<div class="#EDIT{texte} texte surlignable">(#TEXTE|adaptive_images{#CONST{_CONTENT_WIDTH}})</div>]
|
||||
|
||||
[<div class="#EDIT{texte} texte surlignable">(#TEXTE|adaptive_images{#CONST{_CONTENT_WIDTH}})</div>]
|
||||
</article>
|
||||
|
||||
<B_articles>
|
||||
<div class="liste_articles">
|
||||
<section class="liste_articles">
|
||||
#ANCRE_PAGINATION
|
||||
<BOUCLE_articles(ARTICLES){id_rubrique} {tri_rubrique} {pagination 10}>
|
||||
#INCLURE{fond=inclure/resume/article, id_article}
|
||||
</BOUCLE_articles>
|
||||
[<p class="pagination">(#PAGINATION{page_precedent_suivant})</p>]
|
||||
</div>
|
||||
</section>
|
||||
</B_articles>
|
||||
|
||||
<BOUCLE_rubriques(RUBRIQUES) {id_parent} {par num titre, titre}>
|
||||
<h2><a href="#URL_RUBRIQUE">#TITRE</a></h2>
|
||||
<div class="liste_articles">
|
||||
<section class="liste_articles">
|
||||
<BOUCLE_articles_rub(ARTICLES){id_rubrique} {tri_rubrique} {0,3}>
|
||||
#INCLURE{fond=inclure/resume/article, id_article}
|
||||
</BOUCLE_articles_rub>
|
||||
</div>
|
||||
</section>
|
||||
<p class="liste_articles__suite"><a href="#URL_RUBRIQUE">Tous les articles « #TITRE »</a></p>
|
||||
</BOUCLE_rubriques>
|
||||
|
||||
|
@ -249,18 +249,21 @@ span.btn {
|
||||
}
|
||||
}
|
||||
}
|
||||
> h1 {
|
||||
padding:($spacer*4);
|
||||
> article {
|
||||
padding:($spacer*2) ($spacer*4);
|
||||
@include media($bp-medium) {
|
||||
padding:($spacer*2) ($spacer*2) $spacer;
|
||||
}
|
||||
margin:0;
|
||||
background-color:white;
|
||||
h1 {
|
||||
margin:0;
|
||||
}
|
||||
}
|
||||
.page_article & > article, .composition_emission & > article, > .texte, > .ps, .rubrique_blog & > section, > .periode,
|
||||
/*.page_article & > article, .composition_emission & > article, > .texte, > .ps, .rubrique_blog & > section, > .periode,
|
||||
.prochaine_emission, .derniere_emission, .page_recherche & {
|
||||
background-color:white;
|
||||
}
|
||||
}*/
|
||||
> .ajaxbloc {
|
||||
padding-top: 0;
|
||||
margin-top: 6rem;
|
||||
@ -442,7 +445,6 @@ ul.spip {
|
||||
}
|
||||
}
|
||||
.liste.articles.blog {
|
||||
padding:$spacer ($spacer*2);
|
||||
background-color:white;
|
||||
.liste-items {
|
||||
list-style:none;
|
||||
|
Loading…
Reference in New Issue
Block a user