resumé d'article + liste de transcriptions
This commit is contained in:
parent
6dc00ae30a
commit
07a5004029
39
squelettes/inclure/resume/article.html
Normal file
39
squelettes/inclure/resume/article.html
Normal file
@ -0,0 +1,39 @@
|
||||
<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]">
|
||||
[(#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)
|
||||
[(#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)
|
||||
[(#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>][(#LOGO_ARTICLE_NORMAL|oui)</div>]
|
||||
<div class="article-resume__texte">
|
||||
<[(#ENV{h,h2})] class="article-resume__titre"><a href="[(#ENV{pagination}|=={oui}|oui)[(#URL_ARTICLE|parametre_url{debut_articles,@#ID_ARTICLE})]][(#ENV{pagination}|!={oui}|oui)#URL_ARTICLE]" class="[(#ENV{hero}|=={oui}|oui)[(#ENV{compteur}|=={1}|non)block-link]][(#ENV{hero}|=={oui}|non)block-link][ (#ENV{class_link})][ (#ENV{expose})]">#TITRE</a></[(#ENV{h,h2})]>
|
||||
[<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})][ (#EXPOSE)]"><:baz_april:lire:></a>]]
|
||||
<div class="article-resume__infos">
|
||||
[<span class="article-resume__date">(#DATE|nom_jour|ucfirst) [(#DATE|affdate)]</span>]
|
||||
</div>[(#COMPOSITION|=={blog}|oui)
|
||||
<div class="article-resume__intro">
|
||||
[(#INTRODUCTION{#ENV{longueur,180}}|PtoBR)]
|
||||
</div>]
|
||||
<B_personnes>
|
||||
<p class="article-resume__personnes">
|
||||
<BOUCLE_personnes(MOTS){si #ENV{compteur}|!={1}|et{#ENV{hero}|=={oui}}|oui}{id_article}{type=personne·s}{' - '}><strong>#TITRE</strong></BOUCLE_personnes>
|
||||
</p>
|
||||
</B_personnes>[(#ENV{compteur}|!={1}|et{#ENV{hero}|=={oui}}|oui)[
|
||||
<p class="article-resume__evenement">(#EVENEMENT|propre)</p>]]
|
||||
[(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|ou{#COMPOSITION|=={blog}}|non)
|
||||
<a href="#URL_ARTICLE" class="tp"><:baz_april:lire:></a>]
|
||||
<BOUCLE_groupes(GROUPES_MOTS){si #ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|oui}{par titre}>
|
||||
<B_tags>
|
||||
<p class="mots">
|
||||
#TITRE <BOUCLE_tags(MOTS){id_article}{id_groupe}>
|
||||
<a href="#URL_MOT">#TITRE</a>
|
||||
</BOUCLE_tags>
|
||||
</p>
|
||||
</B_tags>
|
||||
</BOUCLE_groupes>
|
||||
</div>
|
||||
</article>
|
||||
</BOUCLE_articles>
|
@ -242,11 +242,11 @@ span.tp {
|
||||
}
|
||||
}
|
||||
@include media($bp-medium-up){
|
||||
> div {
|
||||
> .liste-items {
|
||||
@include flex();
|
||||
@include vendor-prefix(flex-direction,raw);
|
||||
@include vendor-prefix(justify-content,space-between);
|
||||
> * {
|
||||
> li {
|
||||
width:30%;
|
||||
}
|
||||
}
|
||||
@ -310,6 +310,9 @@ span.tp {
|
||||
box-shadow:6px 6px 6px #90abb3;
|
||||
}
|
||||
}
|
||||
.item {
|
||||
margin-bottom:$spacer;
|
||||
}
|
||||
}
|
||||
}
|
||||
.texte_accueil {
|
||||
@ -425,10 +428,7 @@ span.tp {
|
||||
}
|
||||
.article-resume__titre {
|
||||
font-size: 1.4rem;
|
||||
line-height: 1.6;
|
||||
@include media($bp-medium) {
|
||||
line-height:1.4;
|
||||
}
|
||||
line-height:1.3;
|
||||
}
|
||||
&.hero .article-resume__titre {
|
||||
font-size:1.8rem;
|
||||
|
Loading…
Reference in New Issue
Block a user