Also don't index the list of messages
authorMagnus Hagander <magnus@hagander.net>
Wed, 6 Feb 2013 14:00:41 +0000 (15:00 +0100)
committerMagnus Hagander <magnus@hagander.net>
Wed, 6 Feb 2013 14:00:41 +0000 (15:00 +0100)
We index the contents. In particular since the URLs for the list of messages
are very dynamic, it turns into huge amounts of pages being indexed.

django/archives/mailarchives/templates/datelist.html
django/archives/mailarchives/templates/monthlist.html

index 2a3bd174b5a6527fca215b2b5634aa47c7f75220..973d40c54f4daa300316551127762f1afb5a3b3c 100644 (file)
@@ -1,5 +1,6 @@
 {%extends "base.html"%}
 {%block title%}PostgreSQL Mailing Lists: {{title}}{%endblock%}
+{%block extrahead%}<meta name="robots" content="noindex">{%endblock%}
 {%load pgfilters%}
 {%block contents%}
 <h1>{{title}}</h1>
index 290cc53f216a18d701b70a6045fb303f1647b6ba..897bae024c1bacc5b3c9457dd36a78df9e54053e 100644 (file)
@@ -1,5 +1,6 @@
 {%extends "base.html"%}
 {%block title%}PostgreSQL Mailing Lists: {{list.listname}}{%endblock%}
+{%block extrahead%}<meta name="robots" content="noindex">{%endblock%}
 {%load pgfilters%}
 {%block contents%}
 <h1>{{list.listname}}</h1>