24 lines
528 B
Plaintext
24 lines
528 B
Plaintext
-if !article.thumb_style?
|
|
.article_small
|
|
-if article.image_file
|
|
=image_tag(article.image_file.file.square.url, :class => "img")
|
|
|
|
|
|
|
|
%h3=link_to article.title, article_path(:slug => article.slug), :title => " "+article.title.to_s
|
|
|
|
|
|
|
|
|
|
|
|
%p.article_infos
|
|
|
|
|
|
|
|
%time.updated{:datetime => Time.now, :pubdate => true}
|
|
|
|
="le "+l(article.published_at, :format => :human_date)
|
|
.clear
|
|
-else
|
|
=render :partial => "public/articles/#{article.thumb_style}", :locals => {:article => article}
|