Sha256: 79b11a20ea49f9a2740e57e4b102bb5da53c7b7ad3aeb1ef28496c461b915f87

Contents?: true

Size: 355 Bytes

Versions: 82

Compression:

Stored size: 355 Bytes

Contents

- recommendations = post.recommendations.limit(3)

- if site && site.recommendations_enabled && recommendations.any?
  .related-posts
    %h3.recommendations-head
      Related
      %br
      Articles
    .related-post-items
      - recommendations.each do |recommendation|
        = render '/virgo/posts/post_thumb_box', post: recommendation
    .clear

Version data entries

82 entries across 42 versions & 1 rubygems

Version Path
virgo-0.1.1 app/views/virgo/posts/_recommendations.haml
virgo-0.1 app/views/virgo/posts/_recommendations.haml