class Jekyll::PostReader

class PostReader

Public Instance Methods

read_posts(dir) click to toggle source
read_posts
# File lib/jekyll-multiple-languages-plugin.rb, line 217
def read_posts(dir)
  translate_posts = !site.config['exclude_from_localizations'].include?("_posts")
  if dir == '' && translate_posts
    read_posts("_i18n/#{site.config['lang']}/")
  else
    read_posts_org(dir)
  end
end
Also aliased as: read_posts_org
read_posts_org(dir)
Alias for: read_posts