Permalink
Browse files

remove code from sitemap

  • Loading branch information...
jbrownlee committed May 25, 2012
1 parent 89a277b commit 590ff593e26ebebaa95846357264a38a0884f526
Showing with 2 additions and 1 deletion.
  1. +2 −1 web/generate.rb
View
@@ -1504,7 +1504,8 @@ def create_sitemap
Dir.entries(OUTPUT_DIR+"/"+file).each do |subfile|
next if subfile == "." or subfile == ".."
if File.extname(subfile) == ".rb"
- add_code_url_to_sitemap(s, host, dir, "#{file}/#{subfile}")
+ # add_code_url_to_sitemap(s, host, dir, "#{file}/#{subfile}")
+ next
elsif File.extname(subfile) == ".html"
add_url_to_sitemap(s, host, dir, "#{file}/#{subfile}")
end

0 comments on commit 590ff59

Please sign in to comment.