{include file="$blogtemplate/header.template"}
{* I am not so keen on using if's in templates, but can't think of another way... *} {assign var=nextpost value=$post->getNextArticle()} {if $nextpost == true} « | {/if} {assign var=prevpost value=$post->getPrevArticle()} {if $prevpost == true} » {/if}
{assign var="poster" value=$post->getUserInfo()} {include file="$blogtemplate/post.template"} {foreach from=$comments item=comment}{$comment->getTopic()}
{$comment->getText()}
{assign var="commentDate" value=$comment->getDateObject()} {$comment->getUsername()} | {$locale->formatDate($commentDate, "%d/%m/%Y, %H:%M")} {/foreach} {if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1}