
        <article class="post post_<?php echo $post -> ID; ?>">
            <div class="row single-content-all-top">
            <?php
            
                    $post_id = $post -> ID;
                    $template = 'page';                     
                   
                    $zoom = false; 
                    
                    if( options::logic( 'blog_post' , 'enb_featured' ) ){
                        if ( has_post_thumbnail( $post_id ) ) {
                            $src_       = image::thumbnail( $post_id , $template , 'full' );
                            $caption    = image::caption( $post_id );
                            $zoom       = true;
                        }
                    } 
            ?>  
                      
            <div class="twelve columns">
                <div class="single-content-title-container">
                    <h2 class="single-content-title"><?php the_title(); ?></h2>
                    <?php if(strlen(trim($post->post_excerpt))){ ?>
                    <div class="subtitle">
                        <?php echo apply_filters('the_excerpt', $post->post_excerpt); ?>
                    </div>
                    <?php } ?>  
                </div>
            </div>

            <?php
                if (meta::logic( $post , 'settings' , 'meta' )) {
                    $content_class = ' nine ';
                } else { $content_class = ' twelve  '; }
            ?> 

            <div class="twelve columns">
           <?php

                    if( options::logic( 'blog_post' , 'enb_featured' ) ){
                        if ( has_post_thumbnail( $post_id ) && (get_post_format( $post_id ) != 'video'  && get_post_format( $post_id ) != 'gallery' ) ) {
                            if(options::logic( 'blog_post' , 'resize_method_image' ) == 'resize') {
                                $src = image::thumbnail( $post_id , $template , 'tmedium' );
                            }else{
                                $src = image::thumbnail( $post_id , $template , 'tmedium_cropped' );
                            }
                            $caption = image::caption( $post_id );
                ?> 
                            <div class="featimg">
       
                                    <?php
                                        echo '<img src="' . $src[0] . '" alt="' . $caption . '" >';
                                        if( options::logic( 'blog_post' , 'enb_lightbox' ) && $zoom  ){
                                    ?>
                                            <span class="nav-zoom"><a href="<?php echo $src_[0]; ?>" title="<?php echo $caption;  ?>" rel="prettyPhoto-<?php echo $post_id; ?>"><?php _e( 'Full size' , 'cosmotheme' ); ?></a></span>
                                    <?php
                                        }
                                    if (options::logic('styling', 'stripes')) { ?>
                                        <div class="stripes">&nbsp;</div><!--Must put height equal to image-->
                                    <?php } ?>
                            </div>
                <?php
                        }
                    }                                  
                ?>    

                <div class="single-content-all">
                    <div class="row">
                        <?php if (meta::logic( $post , 'settings' , 'meta' ) ){ ?>
                        <div class="three columns">
                            <ul class="post-meta">
                                <?php                         
                                    if( meta::logic( $post , 'settings' , 'meta' ) ){
                                        post::meta( $post ); 
                                    }
                                ?>
                                <li>
                                    <i class="icon-user"></i>
                                    <?php _e('by ', 'cosmotheme'); ?><a href="<?php echo get_author_posts_url( $post->post_author ); ?>"><?php  the_author(); ?></a>
                                </li>
                            </ul>
                        </div>
                        <?php } ?>
                        <div class="<?php echo $content_class; ?> columns">
                            <div class="excerpt <?php if(!meta::logic( $post , 'settings' , 'meta' )) { echo 'excerpt_margin'; } ?>">                               
                                <?php echo apply_filters('the_content', $post->post_content); ?>
                                <?php get_template_part('social-sharing'); ?>
                  
                                <?php
                                    /* comments */
/*                                    if( comments_open($post_id) ){
                                ?>
                                    <?php        
                                            if( options::logic( 'general' , 'fb_comments' ) ){
                                                ?>
                                                <div id="comments">
                                                    <h3 id="reply-title"><?php _e( 'Leave a reply' , 'cosmotheme' ); ?></h3>
                                                    <p class="delimiter">&nbsp;</p>
                                                    <fb:comments href="<?php the_permalink(); ?>" num_posts="5" width="430" height="120" reverse="true"></fb:comments>
                                                </div>
                                                <?php
                                            }else{
                                                comments_template( '', true );
                                            }
                                    }*/
                                    ?>
                            </div>
                        </div>
                    </div>
                </div>                
            </div>
        </div>
    </article>
