.bundle/gems/octopress-hooks-2.2.1/lib/octopress-hooks.rb
# Load hooks before read to ensure that Post and Page hooks 
# can be triggered during initialization
#
Load hooks before read to ensure that Post and Page hooks
can be triggered during initialization
Load hooks before read to ensure that Post and Page hooks can be triggered during initialization
def read
      self.load_hooks
      self.site_hooks.each do |hook|
        hook.pre_read(self)
      end
      old_read
      self.site_hooks.each do |hook|
        hook.post_read(self)
      end
    end
def read self . load_hooks self . site_hooks . each do | hook | hook . pre_read ( self ) end old_read self . site_hooks . each do | hook | hook . post_read ( self ) end end
Load hooks before read to ensure that Post and Page hooks
can be triggered during initialization
Load hooks before read to ensure that Post and Page hooks can be triggered during initialization