Correction d'un souci d'affichage de la carte
This commit is contained in:
@@ -47,6 +47,13 @@
|
||||
|
||||
{hook name="content.content-top" content="$content_id"}
|
||||
|
||||
{assign var="cpt" value=0}
|
||||
{loop type="image" name="content-images" content="$content_id"}
|
||||
{$images[$cpt]['url'] = "{$IMAGE_URL}"}
|
||||
{$images[$cpt]['title'] = "{$TITLE}"}
|
||||
{$cpt = $cpt +1}
|
||||
{/loop}
|
||||
|
||||
{loop name="blog.content" type="content" id=$content_id limit="1"}
|
||||
<h1 id="main-label" class="page-header">{$TITLE}</h1>
|
||||
{if $CHAPO}
|
||||
@@ -54,12 +61,17 @@
|
||||
{$CHAPO}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<img src="{$images[0]['url']}" alt="{$images[0]['title']}" class="recette-image-1" />
|
||||
|
||||
{if $DESCRIPTION}
|
||||
<div class="description">
|
||||
{$DESCRIPTION nofilter}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
||||
<img src="{$images[1]['url']}" alt="{$images[1]['title']}" class="recette-image-2" />
|
||||
|
||||
{ifloop rel="blog.document"}
|
||||
<div class="documents">
|
||||
<ul>
|
||||
|
||||
Reference in New Issue
Block a user