Class: Jekyll::ContentBlocks::PreRenderHook
- Inherits:
-
Object
- Object
- Jekyll::ContentBlocks::PreRenderHook
- Defined in:
- lib/jekyll/content_blocks/pre_render_hook.rb
Class Method Summary collapse
Class Method Details
.call(document, payload) ⇒ Object
4 5 6 7 8 |
# File 'lib/jekyll/content_blocks/pre_render_hook.rb', line 4 def self.call(document, payload) # Reset the per-document block store. Converters are derived on demand by # the contentblock tag from the render context, so they aren't stashed here. payload["contentblocks"] = {} end |