Sha256: 50c791401c3e3a18767a65be482319269815f9a561b1689731ad57b5b10505f1

Contents?: true

Size: 221 Bytes

Versions: 7

Compression:

Stored size: 221 Bytes

Contents

require 'jekyll'

# https://github.com/jekyll/jekyll-sitemap/blob/v0.7.0/lib/jekyll-sitemap.rb#L3-L8
module JekyllPagesApi
  class PageWithoutAFile < Jekyll::Page
    def read_yaml(*)
      @data ||= {}
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
jekyll_pages_api-0.1.6 lib/jekyll_pages_api/page_without_a_file.rb
jekyll_pages_api-0.1.5 lib/jekyll_pages_api/page_without_a_file.rb
jekyll_pages_api-0.1.4 lib/jekyll_pages_api/page_without_a_file.rb
jekyll_pages_api-0.1.3 lib/jekyll_pages_api/page_without_a_file.rb
jekyll_pages_api-0.1.2 lib/jekyll_pages_api/page_without_a_file.rb
jekyll_pages_api-0.1.1 lib/jekyll_pages_api/page_without_a_file.rb
jekyll_pages_api-0.1.0 lib/jekyll_pages_api/page_without_a_file.rb