<?php 
/**
 * Single Template
 *
 *
 * @package Swedish Greys
 * @subpackage Template
 */

get_header(); ?>
        
                <div id="container">    
                        <div id="content">
                        
<?php the_post(); ?>


                                <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
                                        <h1 class="entry-title"><?php the_title(); ?></h1>
                                        
                                        <div class="entry-meta">
                                                <span class="meta-prep meta-prep-author"></span>
                                                <span class="author vcard"></span>
                                                <span class="meta-sep"> | </span>
                                                <span class="meta-prep meta-prep-entry-date"></span>
                                                <span class="entry-date"><abbr class="published" title=""></abbr></span>
                                                <?php edit_post_link( __( 'Edit', 'ntp_framework' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t" ) ?>                                               
                                        </div><!-- .entry-meta -->
                                        
                                        <div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'ntp_framework' ) . '&after=</div>') ?>
                                        </div><!-- .entry-content -->
                                        
                                        <div class="entry-utility">
                                        
<?php if ( ('open' == $post->comment_status) && ('open' == $post->ping_status) ) : // Comments and trackbacks open ?>
                                                <?php printf( __( 'Leave a <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">trackback</a>.', 'ntp_framework' ), get_trackback_url() ) ?>
<?php elseif ( !('open' == $post->comment_status) && ('open' == $post->ping_status) ) : // Only trackbacks open ?>
                                                <?php printf( __( 'Comments are closed, but you can leave a <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">trackback</a>.', 'ntp_framework' ), get_trackback_url() ) ?>
<?php elseif ( ('open' == $post->comment_status) && !('open' == $post->ping_status) ) : // Only comments open ?>
                                                <?php _e( 'Trackbacks are closed.', 'ntp_framework' ) ?>
<?php elseif ( !('open' == $post->comment_status) && !('open' == $post->ping_status) ) : // Comments and trackbacks closed ?>
                                                
<?php endif; ?>
<?php edit_post_link( __( 'Edit', 'ntp_framework' ), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>" ) ?>
                                        </div><!-- .entry-utility -->                                                                                                   
                                </div><!-- #post-<?php the_ID(); ?> -->                 
                                
                                <div id="nav-below" class="navigation">
                                        <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">&laquo;</span> %title' ) ?></div>
                                        <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">&raquo;</span>' ) ?></div>
                                </div><!-- #nav-below -->                                       

<?php comments_template('', true); ?>                   
                        
                        </div><!-- #content -->         
                </div><!-- #container -->
                
<?php get_sidebar(); ?> 
<?php get_footer(); ?>