negos_app/app/views/public/articles/_article_intro.html.haml
2016-02-16 21:09:48 +01:00

27 lines
704 B
Plaintext
Executable File

%header
.right
-if article.category
%span.category
=link_to article.category.name, category_public_article_path(:slug => article.category.slug), :title => "Articles de la catégorie \""+article.category.name.to_s+'"'
.article_infos
%time.updated{:datetime => Time.now, :pubdate => true}
="le "+l(article.published_at, :format => :human_date)
="-"
%span.coms=link_to i(:"comment-o")+" "+article.comments.count.to_s, article_path(:slug => article.slug, :anchor => "comments")
%h1.principal=link_to article.title, article_path(:slug => article.slug), :title => "blog conseil en image : "+article.title.to_s
=render article.block