                    <div class="clear"></div>
                    <div class="posts">
                    <?php      
                        global $wp_query, $post, $more, $blog_type;
                        
                        $tmp_query = $wp_query;
                        
                        if (have_posts()) : 
                    
                    $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
                    <?php 
                        
                        while (have_posts()) : the_post(); 
                        
                        if ( !is_single() ) 
                            $more = 0;
                        
                        $title = is_null( the_title( '', '', false ) ) ? __( '(this post has no title)', 'yiw' ) : the_title( '', '', false );
                        
                    ?>        
                    
                    <div id="post-<?php the_ID(); ?>" <?php post_class('hentry-post group internal-post'); ?>>
                        
                            <h2><?php the_title() ?></h2>
                        
                            <div class="post_header group">
                                <?php the_post_thumbnail('blog_big', array('class'=>'internal')) ?>
                            </div>

                            <?php if($video = get_post_meta(get_the_ID(), '_portfolio_video', true)): ?>
                                <div class="post_video">
                                    <?php
                                        list( $type, $id ) = explode( ':', yiw_video_type_by_url( $video ) );
                                        echo do_shortcode( "[$type video_id=\"$id\"]" );
                                    ?>
                                </div>
                            <?php endif ?>
                            
                            <div class="post_content group">
                                <?php the_content(__( yiw_get_option('blog_read_more_text') )); ?>
                            </div>
                            
                        <div class="post_ group">
                            <?php wp_link_pages(); ?>
    
                            <?php if( is_single() ) edit_post_link( __( 'Edit', 'yiw' ), '<span class="edit-link">', '</span>' ); ?>
    
                            <?php if( is_single() ) the_tags( '<p class="list-tags">Tags: ', ', ', '</p>' ) ?>
                        </div>
                    </div>          
                    
                    <?php 
                        endwhile;
                        
                        else : ?>
                        
                            <div id="post-0" class="post error404 not-found group">
                                <h1 class="entry-title"><?php _e( 'Not Found', 'yiw' ); ?></h1>
                                <div class="entry-content">
                                    <p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'yiw' ); ?></p>
                                    <?php get_search_form(); ?>
                                </div><!-- .entry-content -->
                            </div><!-- #post-0 -->
                        
                        <?php
                        endif;
                         
                        $wp_query = $tmp_query;
                        wp_reset_postdata();
                    ?>    
                
                    <?php if( is_singular() ): ?>
                        <?php if(function_exists('yiw_pagination')) : yiw_pagination(); else : ?> 
                
                            <div class="navigation group">
                                <div class="alignleft"><?php next_posts_link(__('Next &raquo;', 'yiw')) ?></div>
                                <div class="alignright"><?php previous_posts_link(__('&laquo; Back', 'yiw')) ?></div>
                            </div>
                        
                        <?php endif; ?>
                    <?php endif; ?>
        
                    <?php //comments_template(); ?>
                    </div>