Class: Bridgetown::Tags::WithTag

Inherits:
Liquid::Block
  • Object
show all
Defined in:
bridgetown-core/lib/bridgetown-core/tags/with.rb

Instance Method Summary collapse

Instance Method Details

#render(context) ⇒ Object



6
7
8
9
10
# File 'bridgetown-core/lib/bridgetown-core/tags/with.rb', line 6

def render(context)
  region_name = @markup.strip
  context["content_with_region_#{region_name}"] = super
  ""
end