librealire/squelettes/inclure/resume/article.html
2020-10-07 19:01:29 +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"><:librealire: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"><:librealire:lire:></span></a>]][(#ENV{hero}|=={oui}|non)
<a href="#URL_ARTICLE" class="block-link[ (#ENV{class_link})]"><span class="btn"><:librealire:lire:></span></a>]
</div>
</article>
</BOUCLE_articles>