spip_nursit/plugins/dist/themes/zpip-1/GoodThemeLead2/inclure/_article-resume.html

43 lines
1.5 KiB
HTML
Raw Normal View History

2023-06-01 15:30:12 +00:00
[(#REM)
Squelette Presentation d'un article dans une liste
(c) 2009 Zpip
Distribue sous licence GPL
]
<BOUCLE_articles(ARTICLES) {id_article}>
<li class="item hentry">
[(#REM) check if the logo is wide or not and show it above or beside the title respectively]
[(#LOGO_ARTICLE_RUBRIQUE||?{
[(#SET{proportion, [(#EVAL{[(#LOGO_ARTICLE_RUBRIQUE||largeur)] / [(#LOGO_ARTICLE_RUBRIQUE||hauteur)] } )]} )]
})]
[(#GET{proportion}|>={1.5}|?{
[<div class="thumb">
<a rel="bookmark" href="#URL_ARTICLE">(#LOGO_ARTICLE_RUBRIQUE{#URL_ARTICLE}||image_reduire{477,0})</a>
</div>]
})]
<h3 class="h3 entry-title">
[(#GET{proportion}|<{1.5}|?{
[(#LOGO_ARTICLE_RUBRIQUE{#URL_ARTICLE}||image_reduire{150,100})]
})]
<a href="#URL_ARTICLE" rel="bookmark">#TITRE</a></h3>
<div class="info-publi">[<abbr class="published" title="[(#DATE|date_iso)]">(#DATE|affdate_jourcourt)</abbr>][<span class="sep">, </span><span class="auteurs"><:par_auteur:> (#LESAUTEURS)</span>]</div>
[<div class="#EDIT{intro} introduction entry-content">(#INTRODUCTION)</div>]
<div class="meta-publi">
<a class="lire-la-suite" href="#URL_ARTICLE"><:zpip:lire_la_suite:><span class="lire-la-suite-titre"><:zpip:lire_la_suite_de:> <em>#TITRE</em></span></a>
<BOUCLE_nb_commentaires(FORUMS) {id_article}{plat} /> [(#TOTAL_BOUCLE|oui)
<span class="sep">|</span>
<a[ href="(#URL_ARTICLE|ancre_url{forum})"] class="nb_commentaires">[(#TOTAL_BOUCLE)]&nbsp;[(#TOTAL_BOUCLE|=={1}|?{<:zpip:commentaire:>,<:zpip:commentaires:>})]</a>
]
<//B_nb_commentaires>
</div>
</li>
</BOUCLE_articles>