Sha256: 326fbde3aedf91f4ac68fb12697e4188daff15d00d7b714288e375d561dce288

Contents?: true

Size: 471 Bytes

Versions: 2

Compression:

Stored size: 471 Bytes

Contents

# encoding: UTF-8
# frozen_string_literal: true

module Jekyll
  module Drops
    class UnifiedPayloadDrop < Drop
      mutable true

      attr_accessor :page, :layout, :content, :paginator
      attr_accessor :highlighter_prefix, :highlighter_suffix

      def jekyll
        JekyllDrop.global
      end

      def site
        @site_drop ||= SiteDrop.new(@obj)
      end

      private
      def fallback_data
        @fallback_data ||= {}
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-3.6.0 lib/jekyll/drops/unified_payload_drop.rb
jekyll-3.6.0.pre.beta1 lib/jekyll/drops/unified_payload_drop.rb