<?php get_header(); ?>

<div class="content">
    <div class="slider-container sub-page">
        <div class="sub-page-header-image-container">
            <?php 
                if ( has_post_thumbnail() ) {
                    the_post_thumbnail();
                }
            ?>
            <img src="<?php bloginfo('template_directory');?>/images/sub-page-header-image.jpg" />
        </div>
        <div class="slider-overlay-container post-details">
            <div class="positioned-container middle-vertical-align">
                <?php if ( have_posts() ) : 
            while ( have_posts() ) : the_post(); ?>
            
                <h1><?php the_title(); ?></h1>
                <div class="post-meta">
                    Posted in <?php the_category(', ') ?> - <?php echo hosek_postdate_link(); ?> - <?php comments_number('No comment', '1 comment', '% comments'); ?>
                </div>
            </div>
        </div>
    </div>
    <div class="styling-content">
        <div id="content-left">
        
            
                
                
                <?php the_content('Read more...'); ?>
                    
                <div class="post-tag"><?php the_tags( 'Tags: ', ', '); ?></div>
                <div class="page-nav">
                    <span class="older"><?php previous_post_link( '%link', '&laquo; %title' ); ?></span>
                    <span class="newer"><?php next_post_link( '%link', '%title &raquo;' ); ?></span>
                    <div class="clear"></div>
                </div><!-- .end page-nav -->
                
                <?php //comments_template(); ?>
                
            <?php endwhile; 
            else: ?>
            
            <h1>No posts found</h1>
            <p>Sorry, no posts matched your criteria.</p>
            
            <?php endif; ?>
            
        </div><!-- .end content-left -->
    </div>
</div>

<?php get_footer(); ?>