<?php
/**
 * Template pour affichage de catégories 
 *
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package aaa
 */
?>
		  
            <article id="post-<?php the_ID(); ?>" <?php post_class('article-vignette'); ?>>
			<?php
				if (has_post_thumbnail()) { 
			?>		
                <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('thumbnail'); ?></a>
			<?php 
				} else {
			?>	
						<img src="http://plougasnou.violaine-pierret.com/wp-content/themes/plougasnou/img/actu-sans-image.png" alt="">
			<?php	
				       }
			?>

		         <p class="actu-date">
				     <?php the_time('j F Y'); ?>
				 </p>	
                <header class="entry-header">
                    <?php the_title( sprintf( '<h2><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
                </header><!-- .entry-header -->
            </article><!-- #post-## -->

