{extends $layout}

{block content}

{if $posts}
	
		<article id="post-{$post->id}" class="{$post->htmlClasses}">

				<header class="entry-header">
		
					<h1 class="entry-title">
						{__ 'Category Archives:'} <span>{$category->title}</span>
					</h1>
					
				</header>

				{if strlen($category->description) !== 0}
				<div class="entry-content">
					{!$category->description}
				</div>
				{/if}
				
		</article><!-- /#post-{$post->id} -->	


		{include snippets/content-nav.php location => 'nav-above'}

		{include snippets/content-loop.php posts => $posts}

		{include snippets/content-nav.php location => 'nav-below'}

	{ifset $themeOptions->advertising->showBox4}
	<div id="advertising-box-4" class="advertising-box">
	    {!$themeOptions->advertising->box4Content}
	</div>
	{/ifset}

{else}

	{include snippets/nothing-found.php}

{/if}

{/block}