about summary refs log tree commit diff stats
path: root/app/views/comments/_comment.html.haml
blob: 3e10759178f550ad30ffbd7bbcd2f9b0c058ff19 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
.blog-comment
  %blockquote.bubble.rounded.bottom
    = image_tag comment.gravatar_url, class: "comment-avatar"
    = markdown(comment.body, { restricted: true })
    .clear
  %cite.bubble
    %strong
      - if comment.website.empty?
        = comment.username
      - else
        = link_to comment.username, comment.website
    on
    = comment.published_at.strftime("%B #{comment.published_at.day.ordinalize}, %Y at %-I:%M:%S%P")