<?php
/**
 * @package Vertigo
 */

$link_url = function_exists( 'get_url_in_content' ) ? get_url_in_content( get_the_content() ) : vertigo_url_grabber();
?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	<div class="container">

		<header class="entry-header">
			<div class="hand"></div>
			<h1 class="entry-title hitchcock">
				<span>
					<a href="<?php echo esc_url( $link_url ); ?>" rel="bookmark"><?php the_title(); ?></a>
				</span>
			</h1>
		</header><!-- .entry-header -->

		<div class="entry-content clear-fix">
			<?php
				if ( is_search() ) :
					the_excerpt();
				else :
					the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'vertigo' ) );
				endif;
			?>
			<?php wp_link_pages( array( 'before' => '<div class="page-link"><p>' . __( 'Pages:', 'vertigo' ), 'after' => '</p></div>' ) ); ?>
		</div><!-- .entry-content -->

		<?php vertigo_entry_meta(); ?>

		<?php vertigo_entry_info(); ?>

	</div><!-- .container -->
</article><!-- #post-## -->