Sha256: 49e8d01f7dae9d245a01f72b5a410926a7d1488fcf62e907e43d83eadcc17b53

Contents?: true

Size: 232 Bytes

Versions: 2

Compression:

Stored size: 232 Bytes

Contents

module Jekyll
  class Layout
    def content
      if ext == '.slim' && @converted != true
        @content = ::Slim::Template.new{ @content }.render
        @converted = true
      else
        @content
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-slim-0.8.0 lib/jekyll-slim/ext/convertible.rb
jekyll-slim-0.7.0 lib/jekyll-slim/ext/convertible.rb