diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-05-19 10:17:17 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-05-19 10:17:17 +0100 |
commit | 376e850108a06d0b3dc1d19fd1e77b123b775cc7 (patch) | |
tree | a896ac07be4ad4b2f61194e713b6f6f831734c9e | |
parent | 7172772a3a75d18917bd3747786839323d3d0fbf (diff) |
RSS and robots for problem display pages.
-rw-r--r-- | perllib/FixMyStreet/App.pm | 2 | ||||
-rw-r--r-- | templates/web/default/report/display.html | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm index ea22179b7..2cb8cbbff 100644 --- a/perllib/FixMyStreet/App.pm +++ b/perllib/FixMyStreet/App.pm @@ -84,7 +84,7 @@ __PACKAGE__->setup(); # set up DB handle for old code FixMyStreet->configure_mysociety_dbhandle; -# disable debug logging unless in debaug mode +# disable debug logging unless in debug mode __PACKAGE__->log->disable('debug') # unless __PACKAGE__->debug; diff --git a/templates/web/default/report/display.html b/templates/web/default/report/display.html index 6200f7a16..d57f1a105 100644 --- a/templates/web/default/report/display.html +++ b/templates/web/default/report/display.html @@ -1,7 +1,9 @@ [% problem_title = problem.title | html; - - INCLUDE 'header.html', title => problem_title + INCLUDE 'header.html' + title = problem_title + rss = [ loc('Updates to this problem, FixMyStreet'), "/rss/$problem.id" ] + robots = 'index, nofollow' %] [% map_start_html %] |