aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perllib/Page.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/perllib/Page.pm b/perllib/Page.pm
index b2e579888..13c30d81d 100644
--- a/perllib/Page.pm
+++ b/perllib/Page.pm
@@ -211,16 +211,13 @@ sub template_vars ($%) {
'title' => $params{title},
'rss' => '',
map_js => $params{js} || '',
+ robots => $params{robots},
);
if ($params{rss}) {
$vars{rss} = '<link rel="alternate" type="application/rss+xml" title="' . $params{rss}[0] . '" href="' . $params{rss}[1] . '">';
}
- if ($params{robots}) {
- $vars{robots} = '<meta name="robots" content="' . $params{robots} . '">';
- }
-
my $home = !$params{title} && $ENV{SCRIPT_NAME} eq '/index.cgi' && !$ENV{QUERY_STRING};
$vars{heading_element_start} = $home ? '<h1 id="header">' : '<div id="header"><a href="/">';
$vars{heading} = _('Fix<span id="my">My</span>Street');