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.10.2 lib/bridgetown-core/drops/excerpt_drop.rb
bridgetown-core-0.10.1 lib/bridgetown-core/drops/excerpt_drop.rb
bridgetown-core-0.10.0 lib/bridgetown-core/drops/excerpt_drop.rb
bridgetown-core-0.9.0 lib/bridgetown-core/drops/excerpt_drop.rb
bridgetown-core-0.8.1 lib/bridgetown-core/drops/excerpt_drop.rb
bridgetown-core-0.8.0 lib/bridgetown-core/drops/excerpt_drop.rb
bridgetown-core-0.7.2 lib/bridgetown-core/drops/excerpt_drop.rb
bridgetown-core-0.7.1 lib/bridgetown-core/drops/excerpt_drop.rb