Sha256: 68ece143d9ed4e0c3d1a951a70ace1dffbb59fe1923ce9d5ea6e6a814da7d121

Contents?: true

Size: 259 Bytes

Versions: 2

Compression:

Stored size: 259 Bytes

Contents

module Middleman
  module Blog
    module Similar
      module Helpers
        def similar_articles
          if is_blog_article?
            current_article.similar_articles
          else
            []
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
middleman-blog-similar-2.0.1 lib/middleman-blog-similar/helpers.rb
middleman-blog-similar-1.0.0 lib/middleman-blog-similar/helpers.rb