Report abuse
{block main}
{regroup $entry_list, 'published_at_year', 'year_list'}
{foreach $year_list as $year}
<h1>Billets <strong>{$year.grouper|date:"%Y"}</strong></h1>
{regroup $year.list, 'published_at_month', 'month_list'}
{foreach $month_list as $month}
<h2><a href="{url 'blog_month', array($year.grouper, $month.grouper)}" rel="archives" title="Accès aux archives du mois">{$month.list[0].published_at|date:"%B %Y"}</a></h2>
<ul>
{foreach $month.list as $entry}
{assign $cat = ($category) ? $category : $entry.get_category()}
<li><a href="{url 'blog_entry', array($cat.slug, $entry.slug)}" rel="bookmark" title="Lien permanent vers {$entry.title}">{$entry.title}</a></li>
{/foreach}
</ul>
{/foreach}
{/foreach}
{/block}