Fixed robots.txt generation.
h3rald h3rald@h3rald.com
Fri, 02 Oct 2009 19:24:29 +0200
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
Rules
→
Rules
@@ -27,7 +27,7 @@ compile 'sitemap' do
rep.filter :erb end -compile /\/(js\/.+?|.htaccess|robots.txt)/ do +compile /\/(js\/.+?|.htaccess|robots)/ do # do nothing end@@ -63,7 +63,7 @@ route '/js/*' do
item.identifier.gsub(/\/$/, '') + '.js' end -route '/robots' do +route 'robots' do item.identifier.gsub(/\/$/, '') + '.txt' end