23 lines
497 B
Plaintext
23 lines
497 B
Plaintext
-lang_article = article.lang_articles.find_by_lang_site_id(@lang.id)
|
|
|
|
-img_url = article.image_file.file.large.url if article.image_file
|
|
|
|
.article_large
|
|
.article-1x{:style => "background-image:url('#{img_url}');"}
|
|
|
|
|
|
|
|
.date
|
|
=l(article.published_at, :format => :human_date)
|
|
|
|
.description
|
|
-if !article.title_cached
|
|
%h3= lang_article.title
|
|
|
|
|
|
|
|
=simple_format lang_article.description
|
|
|
|
=#%p.read_more
|
|
=#Lire la suite
|
|
.clear |