Sha256: fdac49808553c2dda6df81c99497a809163eddd8bf74901188b37bf9d72c2f3a
Contents?: true
Size: 681 Bytes
Versions: 2
Compression:
Stored size: 681 Bytes
Contents
.rails_blog_engine_post %h1 = link_to_unless_current(post.title, post_permalink_path(post)) = render(:partial => 'rails_blog_engine/posts/tools', :locals => { :post => post }) %p.byline Posted = distance_of_time_in_words_to_now(post.published_at) ago by = post.author_byline %div.rails_blog_engine_body~ markdown(post.body, :trusted? => true) - if current_page?(post_permalink_path(post)) = render(:partial => 'rails_blog_engine/posts/comments_section', :locals => { :post => post, :comments => @comments, :comment => @comment }) - else %p.links = link_to_comments_section(post)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_blog_engine-0.0.4 | app/views/rails_blog_engine/posts/_post.html.haml |
rails_blog_engine-0.0.3 | app/views/rails_blog_engine/posts/_post.html.haml |