Browse Source

Chaine de langue "Publié le " pour afficher la date de publication des articles en mode blog

pull/5/head
jeanmarie 1 year ago
parent
commit
f79b2c1a45
4 changed files with 9 additions and 3 deletions
  1. +1
    -1
      content/article.html
  2. +3
    -1
      css/html5up_forty.spip.css.html
  3. +1
    -1
      inclure/accueil-articles.html
  4. +4
    -0
      lang/html5up_forty_fr.php

+ 1
- 1
content/article.html View File

@ -5,7 +5,7 @@
<div class="inner">
<header class="major">
<h1 class="#EDIT{titre}">#TITRE</h1>
[(#CONFIG{html5up_forty/mode_accueil}|=={blog}|oui)[<p class="date_article">(#DATE|affdate_jourcourt)</p>] ]
[(#CONFIG{html5up_forty/mode_accueil}|=={blog}|oui)[<p class="date_article"><:html5up_forty:publie_le:>(#DATE|affdate_jourcourt)</p>] ]
</header>
[<span class="image main">
(#LOGO_ARTICLE_RUBRIQUE|extraire_attribut{src}


+ 3
- 1
css/html5up_forty.spip.css.html View File

@ -55,7 +55,9 @@ header.major h2 {font-size: 1.75em;}
/* Article */
/* Mode blog */
p.date_article {margin: 0;}
p.date_article {font-size:0.85em; opacity: 0.5; }
.page_sommaire p.date_article, .page_rubrique p.date_article {margin: 0;}
.page_article p.date_article {text-align:center;}
/* Le portofolio */
ul.portfolio {display:flex;flex-wrap:wrap;justify-content:center;list-style: none;}


+ 1
- 1
inclure/accueil-articles.html View File

@ -14,7 +14,7 @@
</span>
<header class="major">
<h2><a href="#URL_ARTICLE" class="link">[(#TITRE|couper{30})]</a></h2>
[<p>(#DATE|affdate_jourcourt)</p>]
[<p><:html5up_forty:publie_le:>(#DATE|affdate_jourcourt)</p>]
#INTRODUCTION{100}
</header>
</article>


+ 4
- 0
lang/html5up_forty_fr.php View File

@ -28,6 +28,10 @@ $GLOBALS[$GLOBALS['idx_lang']] = array(
'mode_accueil_explications' => 'Choisissez le mode d\'affichage de la page d\'accueil',
'mode_accueil_site' => 'Mode site (rubriques à la racine)',
// P
'publie_le' => 'Publié le ',
// T
'theme_graphique_par_html5up' => 'Thème graphique par HTML5 UP',
'titre_page_configurer_html5up_forty' => 'Configurer le squelette HTML5up Forty',

Loading…
Cancel
Save