-if article.without_text_image_file
  -img_url = "https://payremaintenance.fr"+article.without_text_image_file.file.large.url
-elsif article.image_file
  -img_url = "https://payremaintenance.fr"+article.image_file.file.large.url
-else
  -img_url = ""

%a.article_img{:href => article_path(:slug => article.slug), :style => "background-image:url('#{img_url}')"}
     
  
  .content
  %span=article.title
  
  

  
