templates/recipes/list.ezt:
{use $recipes}
<h1>Recipes</h1>
<div class="list">
{foreach $recipes as $recipe}
<div class="recipe-short">
<h1><a href="/recipe/{$recipe['id']}">{$recipe['name']}</a></h1>
<hr />
</div>
{/foreach}
</div>
templates/recipes/view.ezt:
{use $data, $ingredients}
<h1>{$data['name']}</h1>
<div class="description">
{raw $data['description']}
</div>
<div class="ingredients">
{foreach $ingredients as $ingredient}
<div class="ingredient">
{$ingredient['id']}
</div>
{/foreach}
</div>