Sha256: bc74b9b921de77a76281f191c89fad4e14606c690311ca71c5af3468b711f64d

Contents?: true

Size: 386 Bytes

Versions: 11

Compression:

Stored size: 386 Bytes

Contents

module Jekyll
  class LanguageReader < Reader
    def retrieve_posts(dir)
      site.posts.docs.concat(LanguagePostReader.new(site).read_posts(dir))
      site.posts.docs.concat(LanguagePostReader.new(site).read_drafts(dir)) if site.show_drafts
    end

    def retrieve_pages(dir, dot_pages)
      site.pages.concat(LanguagePageReader.new(site, dir).read(dot_pages))
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
jekyll-language-plugin-1.2.3 lib/jekyll/language_reader.rb
jekyll-language-plugin-1.2.2 lib/jekyll/language_reader.rb
jekyll-language-plugin-1.2.0 lib/jekyll/language_reader.rb
jekyll-language-plugin-1.1.8 lib/jekyll/language_reader.rb
jekyll-language-plugin-1.1.7 lib/jekyll/language_reader.rb
jekyll-language-plugin-1.1.4 lib/jekyll/language_reader.rb
jekyll-language-plugin-1.1.3 lib/jekyll/language_reader.rb
jekyll-language-plugin-1.1.2 lib/jekyll/language_reader.rb
jekyll-language-plugin-1.1.1 lib/jekyll/language_reader.rb
jekyll-language-plugin-1.1.0 lib/jekyll/language_reader.rb
jekyll-language-plugin-1.0.2 lib/jekyll/language_reader.rb