- hide_actions ||= false
= content_tag_for(:article, post) do
  header
    .post-avatar
      = avatar post.user
    ul.post-information
      li.post-author
        = link_to post.user.display_name, post.user.url
      li.post-time
        =' link_to l(post.published_at.to_date, format: :short), day_path(date: post.published_at)
        ' &middot;
        = link_to l(post.published_at, format: :time), post.url
      - if post.referenced_guid.present?
        li.post-referenced-url
          = link_to post.referenced_guid.without_http, post.referenced_guid.with_http

  // show referenced post if available
  - if post.referenced_post.present? && (@post.blank? || @post == post)
    .post-reference
      .post-reference-body
        == post.referenced_post.body_html

  // show actual post body
  .post-body
    == post.body_html

  - if current_user.present? && !hide_actions
    ul.post-actions
      - if can?(:edit, post)
        li.post-edit-link = link_to 'edit', [:edit, post]
      - if can?(:create, Post)
        li.post-reply-link = link_to 'reply', new_post_path(referenced_guid: post.guid)

- hide_actions ||= false
= content_tag_for(:article, post) do
  header
    .post-avatar
      = avatar post.user
    ul.post-information
      li.post-author
        = link_to post.user.display_name, post.user.url
      li.post-time
        =' link_to l(post.published_at.to_date, format: :short),
           day_url(year: post.published_at.year, month: post.published_at.month, day: post.published_at.day, host: post.user.domain)
        ' &middot;
        = link_to l(post.published_at, format: :time), post.url
      - if post.referenced_guid.present?
        li.post-referenced-url
          = link_to post.referenced_guid.without_http, post.referenced_guid.with_http

  // show referenced post if available
  - if post.referenced_post.present? && (@post.blank? || @post == post)
    .post-reference
      .post-reference-body
        == post.referenced_post.body_html

  // show actual post body
  .post-body
    == post.body_html

  - if current_user.present? && !hide_actions
    ul.post-actions
      - if can?(:edit, post)
        li.post-edit-link = link_to 'edit', [:edit, post]
      - if can?(:create, Post)
        li.post-reply-link = link_to 'reply', new_post_path(referenced_guid: post.guid)

Change date links so they link to the post author's site
Change date links so they link to the post author's site
hmans/pants,hmans/pants,KlausTrainer/pants,spacetraveler/pants,KlausTrainer/pants,spacetraveler/pants,hmans/pants,KlausTrainer/pants,halfbyte/pants,spacetraveler/pants,halfbyte/pants