Browse Source

Recadrer les images sur l'accueil et la rubrique

issue #1
master
jeanmarie 3 years ago
parent
commit
6b19f30be3
  1. 10
      content/sommaire.html
  2. 5
      inclure/liste/articles.html
  3. 5
      inclure/liste/rubriques.html

10
content/sommaire.html

@ -29,7 +29,10 @@
<section id="two" class="wrapper alt style2">
<BOUCLE_rubriques(RUBRIQUES){id_rubrique IN #GET{rubaccueil}}>
<section class="spotlight">
[<div class="image"><a href="#URL_RUBRIQUE">(#LOGO_RUBRIQUE|image_reduire{980,*}|inserer_attribut{class,no-adapt-img})</a></div>]
[<div class="image"><a href="#URL_RUBRIQUE">(#LOGO_RUBRIQUE|extraire_attribut{src}
|image_recadre{760:540, -, focus}
|adaptive_images{360/550/760/980})</a>
</div>]
<div class="content">
[<h2><a href="#URL_RUBRIQUE">(#TITRE)</a></h2>]
[<div class="introduction">(#INTRODUCTION|couper{150})</div>]
@ -43,7 +46,10 @@
<section id="two" class="wrapper alt style2">
<BOUCLE_rubriquesdef(RUBRIQUES){racine}{par titre}{0,#CONFIG{html5up/rubriques_accueil_nb,5}}>
<section class="spotlight">[(#SET{alt,[(#TITRE|attribut_html)]})]
[<div class="image"><a href="#URL_RUBRIQUE">(#LOGO_RUBRIQUE|image_reduire{980,*}|inserer_attribut{class,no-adapt-img})</a></div>]
[<div class="image"><a href="#URL_RUBRIQUE">(#LOGO_RUBRIQUE|extraire_attribut{src}
|image_recadre{760:540, -, focus}
|adaptive_images{360/550/760/980})</a>
</div>]
<div class="content">
[<h2><a href="#URL_RUBRIQUE">(#TITRE)</a></h2>]
[<div class="introduction">(#INTRODUCTION|couper{150})</div>]

5
inclure/liste/articles.html

@ -6,7 +6,10 @@
{!par date}
{pagination #ENV{parpage,10}}>
<section class="spotlight">
[<div class="image"><a href="#URL_ARTICLE">(#LOGO_ARTICLE|image_reduire{980,*}|inserer_attribut{class,no-adapt-img})</a></div>]
[<div class="image"><a href="#URL_ARTICLE">(#LOGO_ARTICLE|extraire_attribut{src}
|image_recadre{760:540, -, focus}
|adaptive_images{360/550/760/980})</a>
</div>]
<div class="content">
[<h2><a href="#URL_ARTICLE">(#TITRE)</a></h2>]
[<div class="introduction">(#INTRODUCTION|couper{100})</div>]

5
inclure/liste/rubriques.html

@ -3,7 +3,10 @@
{!par date}
{pagination #ENV{parpage,10}}>
<section class="spotlight">
[<div class="image"><a href="#URL_RUBRIQUE">(#LOGO_RUBRIQUE|image_reduire{980,*}|inserer_attribut{class,no-adapt-img})</a></div>]
[<div class="image"><a href="#URL_RUBRIQUE">(#LOGO_RUBRIQUE|extraire_attribut{src}
|image_recadre{760:540, -, focus}
|adaptive_images{360/550/760/980})</a>
</div>]
<div class="content">
[<h2><a href="#URL_RUBRIQUE">(#TITRE)</a></h2>]
[<div class="introduction">(#DESCRIPTIF)</div>]

Loading…
Cancel
Save