Permalink
Browse files

Fix find-orphaned-pages tool thinking that the index is orphaned.

  • Loading branch information...
SaberUK committed Feb 15, 2014
1 parent a305b21 commit 6b1a5c017e08e99cec477177050cb2e9e973d815
Showing with 1 addition and 0 deletions.
  1. +1 −0 _tools/find-orphaned-pages
@@ -11,6 +11,7 @@ available_files.each do |file|
end
available_files.each do |file|
next if file[0] == '_'
+ next if file[0] == 'index.md'
next if linked_files.include?(file)
puts "ORPHANED PAGE: #{file}"
end

0 comments on commit 6b1a5c0

Please sign in to comment.