<?php
/**
 * Tweaker5 Main content template
 * @package tweaker5
 *
 */?>

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

    <header class="content-header">
		<?php tweaker5_format_images('standard-post'); ?>
    </header><?php // close .content-header ?>
    
    <?php if ( is_search() ) : ?>
    
        <div class="content-summary">
            <?php the_excerpt(); ?>
        </div><?php // close .content-summary ?>
	
	<?php else : ?>
    	
        <div class="content-full">
            <?php if ( has_post_thumbnail()) : ?>   
                <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('thumbnail', array('class' => 'alignright', 'title' => '', 'alt' => '' )); ?></a>
            <?php endif ;?>
            <?php the_content( __( '<span class="more-link">Continue reading &raquo;</span>', 'tweaker5' ) ); ?>
        	<p><?php
			wp_link_pages( array(
				'before' => '<div class="page-links">' . __( 'Sections:', 'tweaker5' ),
				'after'  => '</div>',
			) );
		?></p>
        </div><?php // close .content-full ?>
            
	<?php endif; ?>
    
</article><?php // close #post ?>