diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-09-21 09:36:09 +0200 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-09-21 09:36:09 +0200 |
commit | 952078cae459fde745e49640e9c351b6bcf7e82c (patch) | |
tree | e8aa4d4ded20c0568801c1c8dbf03c9914696812 /index.cgi | |
parent | 2ae8ce7a9042ca25ee736f8f393797d76afe77a2 (diff) |
add / to avoid 301 redirect
Diffstat (limited to 'index.cgi')
-rwxr-xr-x | index.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -79,7 +79,7 @@ Dir.glob("*/data.yaml").sort_by{|f| }.each{|site| unless YAML::load_file("#{site}/data.yaml").hidden $htmlout += "<tr>" - $htmlout += "<td class='site'><a href='./#{CGI.escapeHTML(site).gsub("'","%27")}'>#{CGI.escapeHTML(site)}</a></td>" + $htmlout += "<td class='site'><a href='./#{CGI.escapeHTML(site).gsub("'","%27")}/'>#{CGI.escapeHTML(site)}</a></td>" $htmlout += "<td class='mtime'>#{File.new(site + "/data.yaml").mtime.strftime('%d.%m, %H:%M')}</td>" $htmlout += "</tr>" end |