From 1cc2b42fa117ac7469e8b2036bce11a349ac635e Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 8 Mar 2012 11:38:14 -0600 Subject: Encourage robots to not dive into search results pages Add a meta tag for all search results pages past the first. Signed-off-by: Dan McGee --- templates/packages/search.html | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/packages/search.html b/templates/packages/search.html index 800b883..0c67b86 100644 --- a/templates/packages/search.html +++ b/templates/packages/search.html @@ -6,6 +6,7 @@ {% block navbarclass %}anb-packages{% endblock %} {% block head %} +{% if is_paginated and page_obj.number > 1 %}{% endif %} {% endblock %} -- cgit v1.2.3-24-g4f1b