Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion lib/jekyll/page.rb
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,11 @@ def source
def modified?(dest)
dest_path = self.destination(dest)
return true if not File.exist?(dest_path)
self.mtime > File.stat(dest_path).mtime
if (self.mtime <=> File.stat(dest_path).mtime) == 1 then
return true
else
return false
end
end

def explicit_dependencies
Expand Down