librealire/squelettes/inclure/resume/article.html
2020-10-10 07:49:17 +02:00

27 lines
1.1 KiB
HTML

<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_reduire{#CONST{_CONTENT_WIDTH}|div{4}} )
</div>]
<div class="article-resume__texte">
<h2 class="article-resume__titre">#TITRE</h2>
<p class="article-resume__soustitre">#SOUSTITRE</p>[(#ENV{compteur}|=={1}|oui)
<a href="#URL_ARTICLE" class="[ (#ENV{class_link})]"><span class="btn"><:baz_april:lire:></span></a>]
<div class="article-resume__infos">
[<span class="article-resume__date">(#DATE|nom_jour|ucfirst) [(#DATE|affdate)]</span>]
</div>[(#ENV{compteur}|=={1}|non)
<a href="#URL_ARTICLE" class="[ (#ENV{class_link})] tp"><span class=""><:baz_april:lire:></span></a>]
<BOUCLE_groupes(GROUPES_MOTS){si #ENV{compteur}|=={1}|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>