all repos — h3rald @ 818ddd7cf73247e4f40b93c1ca5b0c8139fcffa0

The sources of https://h3rald.com

Fixed robots.txt generation.
h3rald h3rald@h3rald.com
Fri, 02 Oct 2009 19:24:29 +0200
commit

818ddd7cf73247e4f40b93c1ca5b0c8139fcffa0

parent

8c2eca41d9ac78e1bacc6a975aad0846c85e866f

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M RulesRules

@@ -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