Sha256: 8765dfff2d66cf7cc2ad6a9cf43c7af02c6a6ecdda9febd8b2cfc03cf55d8787

Contents?: true

Size: 163 Bytes

Versions: 2

Compression:

Stored size: 163 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
middleman-blog-similar-1.1.1 lib/middleman-blog-similar/helpers.rb
middleman-blog-similar-1.1.0 lib/middleman-blog-similar/helpers.rb