Sha256: 594488f374f0120921089678de793ba630edae3f14ee7fbc84903250785a2e4a

Contents?: true

Size: 938 Bytes

Versions: 1

Compression:

Stored size: 938 Bytes

Contents

.post_author
  .post_author_title
    p
      / ' Posted by:
      b = blogger.name

  .post_author_data
    .post_author_photo
      = image_tag blogger.avatar.try(:url, :content) || "user_post.png"

      .post_author_links
        - if blogger.real?
          span = link_to raw("Read more about #{blogger.name} →"), "/#{blogger.slug}"
        span = link_to raw("Read #{blogger.name}'s posts  →"), tag_posts_path(author: blogger.slug)

  .post_author_description
    .post_author_social
      = link_to image_tag('post_fb.png'), blogger.facebook_url, target: '_blank', rel: 'nofollow' if blogger.facebook_url.present?
      = link_to image_tag('post_twitter.png'), blogger.twitter_url, target: '_blank', rel: 'nofollow' if blogger.twitter_url.present?
      = link_to image_tag('post_google.png'), blogger.google_url, target: '_blank', rel: 'nofollow' if blogger.google_url.present?

    = simple_format blogger.description

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
translation_cms-0.1.5 app/views/bloggers/_blogger.html.slim