From cbeb956b9ac4a1acd4cf6786565377f6d01bebbf Mon Sep 17 00:00:00 2001 From: Saivann Date: Sat, 10 May 2014 12:20:01 -0400 Subject: [PATCH] Ignore 404.html and README.md in sitemap.rb --- _plugins/sitemap.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_plugins/sitemap.rb b/_plugins/sitemap.rb index 65334377..93de87dd 100644 --- a/_plugins/sitemap.rb +++ b/_plugins/sitemap.rb @@ -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?