{include file="$blogtemplate/header.template"} {foreach from=$posts item=post} {assign var=postDate value=$post->getDateObject()} {if $prevDay != $postDate->getDay()}
{$locale->formatDate($postDate,"%A")} | {$locale->formatDate($postDate,"%d.%m.%Y")}
{/if} {assign var="prevDay" value=$postDate->getDay()} {include file="$blogtemplate/post.template"} {/foreach} {include file="$blogtemplate/footer.template"}