mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Ignore 404.html and README.md in sitemap.rb
This commit is contained in:
parent
d258ee7c0b
commit
cbeb956b9a
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ module Jekyll
|
|||
end
|
||||
end
|
||||
next if !/\.html$|\.md$/.match(file1)
|
||||
next if file1 == 'index.html'
|
||||
next if file1 == 'index.html' or file1 == '404.html' or file1 == 'README.md'
|
||||
#Ignore google webmaster tools
|
||||
data = File.read(file1)
|
||||
next if !data.index('google-site-verification:').nil?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue