{url [index.php]}
{url [page-<page=1>]}
{layout "@layout.latte"}

{block content}
{default $page = 1}

{foreach $context->getByType('Nette\Database\Context')->table('article')->order('created')->page($page, 5) as $article}

{$article->created|date:'F j, Y'}

		<h1><a href="article/{$article->id}">{$article->title}</a></h1>

		{$article->content|noescape}
	</div>
{/foreach}

 1">← back
	 
next →
