Sha256: fb7e156339b717daf102dfc9bbf4b1da45101fe25154c7b47ee25452c73533f5

Contents?: true

Size: 301 Bytes

Versions: 10

Compression:

Stored size: 301 Bytes

Contents

# frozen_string_literal: true

module Bridgetown
  module Tags
    class DSDTag < Liquid::Block
      def render(_context)
        template_content = super

        Bridgetown::Utils.dsd_tag(template_content)
      end
    end
  end
end

Liquid::Template.register_tag("dsd", Bridgetown::Tags::DSDTag)

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
bridgetown-core-2.0.0.beta3 lib/bridgetown-core/tags/dsd.rb
bridgetown-core-2.0.0.beta2 lib/bridgetown-core/tags/dsd.rb
bridgetown-core-2.0.0.beta1 lib/bridgetown-core/tags/dsd.rb
bridgetown-core-1.3.4 lib/bridgetown-core/tags/dsd.rb
bridgetown-core-1.3.3 lib/bridgetown-core/tags/dsd.rb
bridgetown-core-1.3.2 lib/bridgetown-core/tags/dsd.rb
bridgetown-core-1.3.1 lib/bridgetown-core/tags/dsd.rb
bridgetown-core-1.3.0 lib/bridgetown-core/tags/dsd.rb
bridgetown-core-1.3.0.beta3 lib/bridgetown-core/tags/dsd.rb
bridgetown-core-1.3.0.beta2 lib/bridgetown-core/tags/dsd.rb