{extends 'main-layout.php'}
{block content}
<!-- TOOLBAR -->
<div class="toolbar">

	<div id="breadcrumb">{_}You are here: {/_}{breadcrumbs}</div>

	{include general-search-form.php}

</div>

<!-- SUBPAGE -->
<div id="container" class="subpage subpage-line clear {isActiveSidebar homepage-widgets-col-2}{else}onecolumn{/isActiveSidebar}">
	<!-- MAINBAR -->
	<div id="content" class="mainbar entry-content clearfix">
		<div id="content-wrapper">
        
			{if $posts}
            
                <h1 class="page-title author">
                    {_}Author Archives:{/_}
                    <span class="vcard">
                        <a class="url fn n" href="{$author->postsUrl}" title="{$author->name}" rel="me">{$author->name}</a>
                    </span>
                </h1>


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

				{if !empty($author->bio)}
				<div id="author-info">
					<div id="author-avatar">
						{$author->avatar(60)}
					</div><!-- #author-avatar -->
					<div id="author-description">
						{_}About{/_} {$author->name}
						{$author->bio}
					</div><!-- #author-description	-->
				</div><!-- #entry-author-info -->
				{/if}

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

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

			{else}

				<article id="post-0" class="post no-results not-found">
					
					<h1 class="entry-title">{_}Nothing Found{/_}</h1>

					<div class="entry-content">
						<p>{_}Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post{/_}</p>
						{include 'general-search-form.php'}
					</div><!-- .entry-content -->
				</article><!-- #post-0 -->

			{/if}

		</div><!-- end of content-wrapper -->
	</div><!-- end of mainbar -->

	<!-- SIDEBAR -->
	{isActiveSidebar homepage-widgets-col-2}
	<div class="sidebar right clearfix">

		{dynamicSidebar "homepage-widgets-col-2"}

	</div><!-- end of sidebar -->
	{/isActiveSidebar}
</div><!-- end of container -->
{/block}