# This is a rough test to see whether or not we're a template or
# a static page
return -1 unless @{ $r->{objects} || [] };
my $template_error = $r->{error};
$r->{error} = <<EOF;
# This is a rough test to see whether or not we're a template or
# a static page
return -1 unless @{ $r->{objects} || [] };
my $template_error = $r->{error};
$r->{error} = <<EOF;