Sha256: fee580bd7948d1f0e88e88fd66ad419889b31c0fc3de03870314070873f81465

Contents?: true

Size: 267 Bytes

Versions: 48

Compression:

Stored size: 267 Bytes

Contents

# frozen_string_literal: true

module Bridgetown
  module Drops
    class ExcerptDrop < DocumentDrop
      def layout
        @obj.doc.data["layout"]
      end

      def date
        @obj.doc.date
      end

      def excerpt
        nil
      end
    end
  end
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
bridgetown-core-0.21.5 lib/bridgetown-core/drops/excerpt_drop.rb
bridgetown-core-0.21.4 lib/bridgetown-core/drops/excerpt_drop.rb
bridgetown-core-0.21.3 lib/bridgetown-core/drops/excerpt_drop.rb
bridgetown-core-0.21.2 lib/bridgetown-core/drops/excerpt_drop.rb
bridgetown-core-0.21.1 lib/bridgetown-core/drops/excerpt_drop.rb
bridgetown-core-0.21.0 lib/bridgetown-core/drops/excerpt_drop.rb
bridgetown-core-0.21.0.beta4 lib/bridgetown-core/drops/excerpt_drop.rb
bridgetown-core-0.21.0.beta3 lib/bridgetown-core/drops/excerpt_drop.rb
bridgetown-core-0.21.0.beta2 lib/bridgetown-core/drops/excerpt_drop.rb
bridgetown-core-0.21.0.beta1 lib/bridgetown-core/drops/excerpt_drop.rb
bridgetown-core-0.20.0 lib/bridgetown-core/drops/excerpt_drop.rb
bridgetown-core-0.19.3 lib/bridgetown-core/drops/excerpt_drop.rb
bridgetown-core-0.19.2 lib/bridgetown-core/drops/excerpt_drop.rb
bridgetown-core-0.19.1 lib/bridgetown-core/drops/excerpt_drop.rb
bridgetown-core-0.19.0 lib/bridgetown-core/drops/excerpt_drop.rb
bridgetown-core-0.18.6 lib/bridgetown-core/drops/excerpt_drop.rb
bridgetown-core-0.18.5 lib/bridgetown-core/drops/excerpt_drop.rb
bridgetown-core-0.18.4 lib/bridgetown-core/drops/excerpt_drop.rb
bridgetown-core-0.18.3 lib/bridgetown-core/drops/excerpt_drop.rb
bridgetown-core-0.18.2 lib/bridgetown-core/drops/excerpt_drop.rb