librealire/squelettes/inclure/resume/article.html
chankalan 3ecfd323bb lang
2020-10-08 13:21:22 +02:00

19 lines
1.2 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{hero}|=={oui}|oui)[(#ENV{compteur}|=={1}|oui)
<a href="#URL_ARTICLE" class="block-link[ (#ENV{class_link})]"><span class="btn plein"><:baz_april:lire:></span></a>]]
<div class="article-resume__infos">
[<span class="article-resume__date">(#DATE|nom_jour|ucfirst) [(#DATE|affdate)]</span>]
<BOUCLE_auteurs(MOTS){type=personne·s}{id_article}{', '}>[<span class="article-auteurs">(#TITRE)</span>]</BOUCLE_auteurs>
</div>[(#ENV{hero}|=={oui}|oui)[(#ENV{compteur}|=={1}|non)
<a href="#URL_ARTICLE" class="block-link[ (#ENV{class_link})]"><span class="btn"><:baz_april:lire:></span></a>]][(#ENV{hero}|=={oui}|non)
<a href="#URL_ARTICLE" class="block-link[ (#ENV{class_link})]"><span class="btn"><:baz_april:lire:></span></a>]
</div>
</article>
</BOUCLE_articles>