.bundle/gems/octopress-hooks-2.2.1/lib/octopress-hooks.rb
# Allows site hooks to get access to the site before
# the render method is called
#
# Returns nothing
Allows site hooks to get access to the site before
the render method is called

Returns nothing
Allows site hooks to get access to the site before the render method is called Returns nothing
def render
      if self.site_hooks
        self.site_hooks.each do |hook|
          hook.pre_render(self)
        end
      end
      old_render
    end
def render if self . site_hooks self . site_hooks . each do | hook | hook . pre_render ( self ) end end old_render end
Allows site hooks to get access to the site before
the render method is called
Allows site hooks to get access to the site before the render method is called