<?php get_header(); ?>

<div class="conteudoindex">

    <?php 
    if ( have_posts() ) : 
        while (have_posts() ) : 
            the_post(); 
    ?>

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

<h1><?php echo the_title(); ?></h1>
<?php edit_post_link(); ?>
<div class="widget"><?php dynamic_sidebar('coffeetime_ad'); ?></div>
<div class="entry-content"> 

<?php the_content();?>

<?php wp_link_pages(); ?>
</div>

<p style="text-align:right"><small><?php the_time( get_option( 'date_format' ) ) ?> &bull; <?php the_time(get_option('time_format'));?><br/><?php the_author_posts_link(); ?></small><br/>

<span><?php
echo str_replace("<img ", "<img title='' ", get_avatar( get_the_author_meta('user_email'), $size = '48', '', ''));
?></span></p>


<?php comments_template(); ?>
</div>
</article>
     <?php endwhile; endif; ?> 


</div>


<?php get_footer(); ?>