{extends file="layout.tpl"} {block name='init'} {/block} {* Body Class *} {block name="body-class"}page-content{/block} {* Page Title *} {block name='no-return-functions' append} {$page_title = "Nos recettes"} {/block} {* Breadcrumb *} {block name='no-return-functions' append} {$breadcrumbs = []} {loop type="content" name="content-breadcrumb" folder=1 limit="1"} {loop name="folder_path" type="folder-path" folder={$DEFAULT_FOLDER}} {$breadcrumbs[] = ['title' => {$TITLE}, 'url'=> {$URL nofilter}]} {/loop} {/loop} {/block} {block name="main-content"}
| {intl l="Name" d="recettes"} | {intl l="Summary" d="recettes"} | {intl l="Difficulty" d="recettes"} | {intl l="Created on" d="recettes"} | {loop type="content" name="content-loop" folder=1 visible="yes" order="created_reverse"} {loop type="image" name="image-loop" content=$ID visible=true position=1} {assign var="image" value="$IMAGE_URL"} {/loop} {loop type="recipe" name="recipe-loop" content_id=$ID limit="1"} {assign var="title" value="$TITLE"} {assign var="summary" value="$SUMMARY"} {if $DIFFICULTY eq 0}{assign var="label_difficulty" value="Facile"}{/if} {if $DIFFICULTY eq 1}{assign var="label_difficulty" value="Moyen"}{/if} {if $DIFFICULTY eq 2}{assign var="label_difficulty" value="Difficile"}{/if} {/loop}|
|---|---|---|---|---|
|
|
{$title} | {$summary|unescape:"html" nofilter} | {$label_difficulty} | {format_date date=$CREATE_DATE format="d/m/Y"} |