{include file="$blogtemplate/header.template"} {if $showAll} {if $showAll == 1 && $category}

{$locale->tr("posts")}: {$category->getName()}

{/if} {foreach from=$posts item=post} {assign var="postDate" value=$post->getDateObject()} {$locale->formatDate($postDate,"%Y.%B%d")} {$post->getTopic()}
{/foreach} {else} {foreach from=$posts item=post} {include file="$blogtemplate/post.template"} {/foreach} {/if} {pager style="links"} {include file="$blogtemplate/links.template"} {include file="$blogtemplate/footer.template"}