Module: Jekyll::LastModifiedAt::Hook

Defined in:
lib/jekyll-last-modified-at/hook.rb

Class Method Summary collapse

Class Method Details

.add_determinator_procObject


6
7
8
9
10
# File 'lib/jekyll-last-modified-at/hook.rb', line 6

def self.add_determinator_proc
  proc { |item|
    item.data['last_modified_at'] = Determinator.new(item.site.source, item.path)
  }
end