
	{if !$wp->isSingular}

		{if $wp->isSearch}

			{*** SEARCH RESULTS ONLY ***}

			<article {!$post->htmlId} {!$post->htmlClass}>

				<div class="left">

					{includePart parts/entry-date}

					{if $post->categoryList}
						{include entry-categories.php}
					{/if}

				</div><!-- .left -->

				<div class="right">

					<h2><a href="{$post->permalink}">{!$post->title}</a></h2>


					<div class="entry-content loop">
						{!$post->excerpt(80)}

						<a href="{$post->permalink}" class="more">{!__ 'Continue reading ...' }</a>
					</div><!-- .entry-content -->

				</div><!-- .right -->
			</article>

		{else}

			{*** STANDARD LOOP ***}

			<article {!$post->htmlId} {!$post->htmlClass}>

				<div class="left {if !$post->hasImage}nothumbnail{/if}">

					{includePart parts/entry-date}

					{if $post->categoryList}
						{includePart parts/entry-categories}
					{/if}

				</div><!-- .left -->

				<div class="right {if !$post->imageUrl}nothumbnail{/if}">

					{capture $editLinkLabel}<span class="edit-link">{!__ 'Edit'}</span>{/capture}
	      			{!$post->editLink($editLinkLabel)}

                    <a href="{$post->permalink}" class="thumb-link">

						{if $post->imageUrl}
							<div class="entry-thumbnail">
								<div class="entry-thumbnail-wrap entry-content">
									<span class="entry-thumbnail-icon">
										<img src="{imageUrl $post->imageUrl, width => 1000, height => 500, crop => 1}" alt="{__ 'Entry Thumbnail'}">
									</span>
								</div>
							</div><!-- .entry-thumbnail -->
						{/if}

						<h2 class="entry-title">{!$post->title}</h2>
					</a>


					<div class="entry-content loop updated">
						{!$post->excerpt(50)}
					</div><!-- .entry-content -->

				</div><!-- .right -->

				<div class="bottom {if !$post->imageUrl}nothumbnail{/if}">

					{if $post->type == post}
						{includePart parts/entry-author}
					{/if}

					{includePart parts/comments-link}

				</div><!-- .bottom -->
			</article>

		{/if}

	{else}

		{*** POST DETAIL ***}

		<article {!$post->htmlId} class="content-block">
			<div class="entry-content updated">
				{!$post->content}
				{!$post->linkPages}
			</div><!-- .entry-content -->

			<footer class="entry-footer">
				{if $wp->isSingle and $post->author->bio and $post->author->isMulti}
					{includePart parts/author-bio}
				{/if}
			</footer><!-- .entry-footer -->
		</article>

	{/if}
