View difference between Paste ID: tRW7tUKj and dQrP8XaR
SHOW: | | - or go back to the newest paste.
1
{block content}
2
<div class="article" n:foreach="$articles as $article">
3
	<h3>{$article->title}</h3>
4
5
	Category: 
6
	{if $article->category} 
7
		{$article->category->name} 
8
	{else}
9
		<i>no category</i> 
10
	{/if}
11
12-
	{!$article->contentHtml}
12+
	{!$article->content_html}
13
14
	Tags:
15
	{foreach $article->tags as $tag}
16
		{$tag->name}{sep}, {/sep}
17
	{/foreach}
18
	<i n:if="!count($article->tags)">no tags</i>
19
</div>
20
{/block}