%article

	%header
		
		%aside
			<img src="http://www.gravatar.com/avatar/199574623fb5c99b721233fb31bee19f.png" class="avatar avatar-50 photo" >
			
			%p
				Article de
				%strong
			
					Nicolas Bally
			
		
			%time.updated{:datetime => Time.now, :pubdate => true}
				publié
				="le "+l(article.published_at, :format => :human_date)
		
			%p{:style => "margin-top:1em;"}
				-if article.comments.count == 0
					=link_to "Pas de commentaires", article_path(:slug => article.slug, :anchor => "comments")
				-elsif article.comments.count == 1
					=link_to "1 commentaire", article_path(:slug => article.slug, :anchor => "comments")
				-else
					=link_to "#{article.comments.count} commentaires", article_path(:slug => article.slug, :anchor => "comments")
				
		
		
      	
		%h1=link_to article.title, article_path(:slug => article.slug), :title => "blog conseil en image : "+article.title.to_s
		
		%h2= article.description

	=render article.block
	
