Browse Source

Utiliser l'inclure pour els articles focus

master
jeanmarie 3 years ago
parent
commit
787cb51be8
  1. 92
      content/article.html

92
content/article.html

@ -5,72 +5,34 @@
<div class="container">
<!-- Content -->
<div id="content">
<article class="box post">
<header class="entente style1">
<h1 [class="(#EDIT{titre})"]>#TITRE</h1>
[<p [class="(#EDIT{soustitre})"]>(#SOUSTITRE)</p>]
</header>
[<div class="image featured">
(#LOGO_ARTICLE_RUBRIQUE|extraire_attribut{src}
|balise_img
|image_recadre{1270:320,-,focus}
|adaptive_images{360/768/980/1270})
</div>]
[<div class="chapo #EDIT{chapo}">(#CHAPO)</div>]
[<div class="texte #EDIT{texte}">(#TEXTE)</div>]
<aside>
[(#REM) Gestion du portfolio et des documents ]
[(#INCLURE{fond=inclure/portfolio,id_article,id_rubrique=#EVAL{null}})]
[(#INCLURE{fond=inclure/documents,id_article})]
</aside>
</article>
</div>
<div id="content">
<article class="box post">
<header class="entente style1">
<h1 [class="(#EDIT{titre})"]>#TITRE</h1>
[<p [class="(#EDIT{soustitre})"]>(#SOUSTITRE)</p>]
</header>
[<div class="image featured">
(#LOGO_ARTICLE_RUBRIQUE|extraire_attribut{src}
|balise_img
|image_recadre{1270:320,-,focus}
|adaptive_images{360/768/980/1270})
</div>]
[<div class="chapo #EDIT{chapo}">(#CHAPO)</div>]
[<div class="texte #EDIT{texte}">(#TEXTE)</div>]
<aside>
[(#REM) Gestion du portfolio et des documents ]
[(#INCLURE{fond=inclure/portfolio,id_article,id_rubrique=#EVAL{null}})]
[(#INCLURE{fond=inclure/documents,id_article})]
</aside>
</article>
</div>
</div>
</section>
</BOUCLE_principale>
<!-- Highlights -->
<section id="highlights" class="wrapper style3">
<div class="title">The Endorsements</div>
<div class="container">
<div class="row aln-center">
<div class="col-4 col-12-medium">
<section class="highlight">
<a href="#" class="image featured"><img src="images/pic02.jpg" alt="" /></a>
<h3><a href="#">Aliquam diam consequat</a></h3>
<p>Eget mattis at, laoreet vel amet sed velit aliquam diam ante, dolor aliquet sit amet vulputate mattis amet laoreet lorem.</p>
<ul class="actions">
<li><a href="#" class="button style1">Learn More</a></li>
</ul>
</section>
</div>
<div class="col-4 col-12-medium">
<section class="highlight">
<a href="#" class="image featured"><img src="images/pic03.jpg" alt="" /></a>
<h3><a href="#">Nisl adipiscing sed lorem</a></h3>
<p>Eget mattis at, laoreet vel amet sed velit aliquam diam ante, dolor aliquet sit amet vulputate mattis amet laoreet lorem.</p>
<ul class="actions">
<li><a href="#" class="button style1">Learn More</a></li>
</ul>
</section>
</div>
<div class="col-4 col-12-medium">
<section class="highlight">
<a href="#" class="image featured"><img src="images/pic04.jpg" alt="" /></a>
<h3><a href="#">Mattis tempus lorem</a></h3>
<p>Eget mattis at, laoreet vel amet sed velit aliquam diam ante, dolor aliquet sit amet vulputate mattis amet laoreet lorem.</p>
<ul class="actions">
<li><a href="#" class="button style1">Learn More</a></li>
</ul>
</section>
</div>
</div>
</div>
</section>
</BOUCLE_principale>
<INCLURE{fond=inclure/accueil-focus} />
Loading…
Cancel
Save