Module: Jekyll::Convertible

Defined in:
lib/octopress-tag-helpers/hooks.rb

Instance Method Summary collapse

Instance Method Details

#do_layout(payload, layouts) ⇒ Object



5
6
7
8
9
10
# File 'lib/octopress-tag-helpers/hooks.rb', line 5

def do_layout(payload, layouts)
  # The  tags needs access to the converter to process it while rendering.
  payload['converter'] = @converter ||= site.converters.find { |c| c.matches(ext) }

  jekyll_do_layout(payload, layouts)
end

#jekyll_do_layoutObject



3
# File 'lib/octopress-tag-helpers/hooks.rb', line 3

alias_method :jekyll_do_layout, :do_layout