From d8ed71a50b0becfb93d5601572d15631527b6ebb Mon Sep 17 00:00:00 2001 From: Saivann Date: Sun, 26 May 2013 13:16:08 -0400 Subject: [PATCH] Remove /index.html and /404.html from sitemap --- _plugins/sitemap.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/_plugins/sitemap.rb b/_plugins/sitemap.rb index af191232..91f8bc62 100644 --- a/_plugins/sitemap.rb +++ b/_plugins/sitemap.rb @@ -52,6 +52,7 @@ module Jekyll end end next if !/\.html$/.match(file1) + next if file1 == 'index.html' || file1 == '404.html' sitemap.puts '' sitemap.puts ' http://bitcoin.org/'+file1.gsub('.html','')+'' sitemap.puts ''