Class: Jekyll::Tags::ContentFor

Inherits:
Liquid::Block
  • Object
show all
Includes:
ContentBlocks::ContentBlockTag
Defined in:
lib/jekyll/tags/content_for.rb

Instance Attribute Summary

Attributes included from ContentBlocks::ContentBlockTag

#content_block_name, #content_block_options

Instance Method Summary collapse

Methods included from ContentBlocks::ContentBlockTag

#initialize

Instance Method Details

#render(context) ⇒ Object



7
8
9
10
# File 'lib/jekyll/tags/content_for.rb', line 7

def render(context)
  content_for_block(context) << render_block(context)
  ''
end

#render_blockObject



5
# File 'lib/jekyll/tags/content_for.rb', line 5

alias_method :render_block, :render