Browse Source

article/resume/date seulement si blog

master
chankalan 3 months ago
parent
commit
ca7894de57
  1. 4
      squelettes/inclure/resume/article.html
  2. 2
      squelettes/scss/blocs/_content.scss

4
squelettes/inclure/resume/article.html

@ -11,9 +11,9 @@
<[(#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">
[(#COMPOSITION|=={blog}|oui)<div class="article-resume__infos">
[<span class="article-resume__date">(#DATE|nom_jour|ucfirst) [(#DATE|affdate)]</span>]
</div>[(#COMPOSITION|=={blog}|oui)
</div>
<div class="article-resume__intro">
[(#INTRODUCTION{#ENV{longueur,180}}|PtoBR)]
</div>][(#ENV{compteur}|=={1}|et{#ENV{hero}|=={oui}}|ou{#COMPOSITION|=={blog}}|non)

2
squelettes/scss/blocs/_content.scss

@ -100,7 +100,7 @@
.article-resume__date {
margin-bottom: 0;
&:before {
content: ' - ';
/* content: ' - '; */
}
}

Loading…
Cancel
Save