nettoyage
This commit is contained in:
parent
bd28936910
commit
32cc1decc2
@ -1,7 +1,7 @@
|
|||||||
<paquet
|
<paquet
|
||||||
prefix="baz_april"
|
prefix="baz_april"
|
||||||
categorie="squelette"
|
categorie="squelette"
|
||||||
version="2.0.2"
|
version="2.0.3"
|
||||||
schema="1.0.0"
|
schema="1.0.0"
|
||||||
etat="dev"
|
etat="dev"
|
||||||
compatibilite="[3.2.0;3.3.*]"
|
compatibilite="[3.2.0;3.3.*]"
|
||||||
|
@ -0,0 +1,46 @@
|
|||||||
|
<BOUCLE_content(MOTS) {id_mot} {doublons}>
|
||||||
|
<article>
|
||||||
|
|
||||||
|
<header class="cartouche">
|
||||||
|
<h1 class="#EDIT{titre}">[(#LOGO_MOT|image_reduire)]#TITRE</h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="main">
|
||||||
|
[<div class="#EDIT{texte} chapo">(#TEXTE|image_reduire{700,*})</div>]
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<aside>
|
||||||
|
[(#REM) Articles lies au mot-cle ]
|
||||||
|
<INCLURE{fond=inclure/liste/articles-resume,env,ajax,id_mot,titre=<:baz_april:articles_lies:>} />
|
||||||
|
|
||||||
|
[(#REM) Rubriques liees au mot-cle ]
|
||||||
|
<B_rubriques>
|
||||||
|
<div class="liste_rubriques">
|
||||||
|
<h2 class="h2"><:rubriques:></h2>
|
||||||
|
<ul class="liste-items">
|
||||||
|
<BOUCLE_rubriques(RUBRIQUES) {id_mot} {par titre} {pagination 50}>
|
||||||
|
<li class="item"><a href="#URL_RUBRIQUE">#TITRE</a></li>
|
||||||
|
</BOUCLE_rubriques>
|
||||||
|
</ul>
|
||||||
|
[<div class="pagination">(#PAGINATION)</div>]
|
||||||
|
</div>
|
||||||
|
</B_rubriques>
|
||||||
|
|
||||||
|
[(#REM) Sites web lies au mot-cle ]
|
||||||
|
<B_sites>
|
||||||
|
<div class="liste_sites">
|
||||||
|
<h2 class="h2"><:sites_web:></h2>
|
||||||
|
<ul class="liste-items">
|
||||||
|
<BOUCLE_sites(SITES) {id_mot} {par nom_site} {pagination 50}>
|
||||||
|
<li class="item"><a href="[(#ID_SYNDIC|generer_url_entite{site,'','',#CONNECT})]">#NOM_SITE</a></li>
|
||||||
|
</BOUCLE_sites>
|
||||||
|
</ul>
|
||||||
|
[<div class="pagination">(#PAGINATION)</div>]
|
||||||
|
</div>
|
||||||
|
</B_sites>
|
||||||
|
</aside>
|
||||||
|
[<footer>
|
||||||
|
<div class="notes"><hr />(#NOTES)</div>
|
||||||
|
</footer>]
|
||||||
|
</article>
|
||||||
|
</BOUCLE_content>
|
@ -1,10 +1,2 @@
|
|||||||
<div class="liste_articles">
|
|
||||||
<B_articles>
|
|
||||||
#ANCRE_PAGINATION
|
|
||||||
<BOUCLE_articles(ARTICLES){!par date} {pagination 5}>
|
|
||||||
#INCLURE{fond=inclure/article-resume, id_article, longueur=480}
|
|
||||||
</BOUCLE_articles>
|
|
||||||
[<p class="pagination">(#PAGINATION{page_precedent_suivant})</p>]
|
|
||||||
</B_articles>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
<INCLURE{fond=inclure/liste/articles-resume,env,ajax,parpage=2} />
|
||||||
|
@ -2,4 +2,4 @@
|
|||||||
<title>[(#TITRE|textebrut)][ - (#NOM_SITE_SPIP|textebrut)]</title>
|
<title>[(#TITRE|textebrut)][ - (#NOM_SITE_SPIP|textebrut)]</title>
|
||||||
[<meta name="description" content="(#DESCRIPTIF|couper{150}|textebrut)" />]
|
[<meta name="description" content="(#DESCRIPTIF|couper{150}|textebrut)" />]
|
||||||
[<link rel="canonical" href="(#URL_MOT|url_absolue)" />]
|
[<link rel="canonical" href="(#URL_MOT|url_absolue)" />]
|
||||||
</BOUCLE_article_head>
|
</BOUCLE_mot_head>
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
<BOUCLE_articles(ARTICLES) {id_article}>
|
|
||||||
<article class="article-resume[ article-resume--(#ENV{class})] block-link-parent">
|
|
||||||
<div class="article-resume__logo">
|
|
||||||
[(#LOGO_ARTICLE_NORMAL|sinon{#CHEMIN{images/nologo.png}}|image_recadre{#CONST{_IMAGE_RATIO},-}|image_reduire{#CONST{_CONTENT_WIDTH}|div{2}} )]
|
|
||||||
</div>
|
|
||||||
<div class="article-resume__texte">
|
|
||||||
<h2 class="article-resume__titre"><a href="#URL_ARTICLE" class="block-link[ (#ENV{class_link})]">#TITRE</a></h2>
|
|
||||||
<div class="article-resume__infos">
|
|
||||||
[<span class="article-resume__rubrique">(#INFO_TITRE{rubrique,#ID_RUBRIQUE})</span>]
|
|
||||||
#SET{heure,#DATE|heures|concat{h}}
|
|
||||||
#SET{minutes,#DATE|minutes}
|
|
||||||
[(#GET{minutes}|=={00}|non)#SET{heure,#GET{heure}|concat{#GET{minutes}}}]
|
|
||||||
[<span class="article-resume__date">(#DATE|nom_jour|ucfirst) [(#DATE|affdate)] [(#ENV{class}|=={vertical}|non)à #GET{heure}]</span>]
|
|
||||||
</div>
|
|
||||||
<div class="article-resume__intro">
|
|
||||||
[(#INTRODUCTION{#ENV{longueur,180}}|PtoBR)]
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</article>
|
|
||||||
</BOUCLE_articles>
|
|
@ -1,10 +1,10 @@
|
|||||||
<B_articles>
|
<B_articles>
|
||||||
|
<div class="liste_articles">
|
||||||
#ANCRE_PAGINATION
|
#ANCRE_PAGINATION
|
||||||
<h2 class="h2">[(#ENV{titre,<:derniers_articles:>})]</h2>
|
[<h2 class="h2">(#ENV{titre})</h2>]
|
||||||
<ul class="liste-items">
|
<BOUCLE_articles(ARTICLES){id_rubrique!=-1}{id_rubrique?}{id_secteur?}{id_mot?}{lang}{!par date}{pagination #ENV{parpage,10}}>
|
||||||
<BOUCLE_articles(ARTICLES){id_rubrique!=-1}{id_rubrique?}{id_secteur?}{id_mot?}{lang}{!par date}{pagination #ENV{nb,10}}>
|
#INCLURE{fond=inclure/resume/article, id_article, env, couper=#ENV{couper}}
|
||||||
<li class="item clearfix">#INCLURE{fond=inclure/resume/article,id_article,env}</li>
|
|
||||||
</BOUCLE_articles>
|
</BOUCLE_articles>
|
||||||
</ul>
|
[<div class="pagination">(#PAGINATION{page_precedent_suivant})</div>]
|
||||||
[<div class="pagination">(#PAGINATION)</div>]
|
</div>
|
||||||
</B_articles>
|
</B_articles>
|
||||||
|
@ -1,13 +1,20 @@
|
|||||||
[(#REM)
|
<BOUCLE_articles(ARTICLES) {id_article}>
|
||||||
|
<article class="article-resume[ article-resume--(#ENV{class})] block-link-parent">
|
||||||
Squelette Presentation resumee d'un article dans une liste
|
<div class="article-resume__logo">
|
||||||
Distribue sous licence GPL
|
[(#LOGO_ARTICLE_NORMAL|sinon{#CHEMIN{images/nologo.png}}|image_recadre{#CONST{_IMAGE_RATIO},-}|image_reduire{#CONST{_CONTENT_WIDTH}|div{2}} )]
|
||||||
|
</div>
|
||||||
]
|
<div class="article-resume__texte">
|
||||||
<BOUCLE_articles(ARTICLES) {id_article} {statut?}>
|
<h2 class="article-resume__titre"><a href="#URL_ARTICLE" class="block-link[ (#ENV{class_link})]">#TITRE</a></h2>
|
||||||
<article class="entry article hentry[(#COMPOSITION|=={blog}|oui) blog]">
|
<div class="article-resume__infos">
|
||||||
<p class="publication">[<time datetime="[(#DATE|date_iso)]">(#DATE|affdate)</time>]</p>
|
[<span class="article-resume__rubrique">(#INFO_TITRE{rubrique,#ID_RUBRIQUE})</span>]
|
||||||
<h3 class="h3 entry-title"><a href="[(#URL_ARTICLE|parametre_url{debut_articles_rubrique,@#ID_ARTICLE}|parametre_url{recherche,#ENV{recherche}})]" rel="bookmark">[(#ENV{logo_rubrique,' '}|?{#LOGO_ARTICLE_RUBRIQUE,#LOGO_ARTICLE}|image_reduire{#ENV{largeur_logo,-1},#ENV{hauteur_logo,-1}}|responsive_logo)]<span>#TITRE</span></a></h3>
|
#SET{heure,#DATE|heures|concat{h}}
|
||||||
[<div class="#EDIT{intro} introduction entry-content">(#INTRODUCTION{#ENV{coupe,300}})</div>]
|
#SET{minutes,#DATE|minutes}
|
||||||
|
[(#GET{minutes}|=={00}|non)#SET{heure,#GET{heure}|concat{#GET{minutes}}}]
|
||||||
|
[<span class="article-resume__date">(#DATE|nom_jour|ucfirst) [(#DATE|affdate)] [(#ENV{class}|=={vertical}|non)à #GET{heure}]</span>]
|
||||||
|
</div>
|
||||||
|
<div class="article-resume__intro">
|
||||||
|
[(#INTRODUCTION{#ENV{longueur,180}}|PtoBR)]
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</article>
|
</article>
|
||||||
</BOUCLE_articles>
|
</BOUCLE_articles>
|
||||||
|
@ -101,6 +101,11 @@
|
|||||||
.mots {
|
.mots {
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
@include list-separator;
|
li {
|
||||||
|
width:20%;
|
||||||
|
}
|
||||||
|
li:nth-child(10n) {
|
||||||
|
float:left;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user