mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
Remove /index.html and /404.html from sitemap
This commit is contained in:
parent
2d439900c3
commit
d8ed71a50b
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ module Jekyll
|
|||
end
|
||||
end
|
||||
next if !/\.html$/.match(file1)
|
||||
next if file1 == 'index.html' || file1 == '404.html'
|
||||
sitemap.puts '<url>'
|
||||
sitemap.puts ' <loc>http://bitcoin.org/'+file1.gsub('.html','')+'</loc>'
|
||||
sitemap.puts '</url>'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue