<div id="posts-list" class="cf">
<h2>News</h2>
{foreach from=$news item=n}
<article>
<div class="feature-image">
{if $n.picture!=""}<img src="/newsimages/{$n.picture}" alt="{$n.name}"/>{/if}
<div class="entry-date">
<div class="month">{$n.month}</div>
<div class="number">{$n.day}</div>
</div>
</div>
<div class="excerpt">
<a class="post-heading">{$n.title}</a>
<p> {$n.text} </p>
</div>
<div class="meta">
<span class="user">
by {$n.username} on {$n.date}
</span>
</div>
<i class="tape"></i>
</article>   
{foreachelse}
{/foreach}
</div>