Sha256: b796bff18c62fcd25879a52f3a1e903d4731b913fd12737fe9844b3a70d8b531

Contents?: true

Size: 441 Bytes

Versions: 2

Compression:

Stored size: 441 Bytes

Contents

module Jekyll
  class Layout

    # Allows layouts to be transformed by slim until this is fixed (1.4)
    # https://github.com/mojombo/jekyll/issues/225
    # https://github.com/mojombo/jekyll/blob/master/lib/jekyll/layout.rb
    def initialize(site, base, name)
      @site = site
      @base = base
      @name = name

      self.data = {}

      self.process(name)
      self.read_yaml(base, name)
      self.transform
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-slim-0.9.1 lib/jekyll-slim/extensions/layout.rb
jekyll-slim-0.9.0 lib/jekyll-slim/extensions/layout.rb