##// END OF EJS Templates
Added noindex to the pages without unique content or user-specific ones
neko259 -
r1040:e158fb64 default
parent child Browse files
Show More
@@ -4,6 +4,7 b''
4 4 {% load i18n %}
5 5
6 6 {% block head %}
7 <meta name="robots" content="noindex">
7 8 <title>{{ site_name }} - {% trans 'Notifications' %} - {{ notification_username }}</title>
8 9 {% endblock %}
9 10
@@ -6,6 +6,8 b''
6 6 {% load static %}
7 7
8 8 {% block head %}
9 <meta name="robots" content="noindex">
10
9 11 {% if tag %}
10 12 <title>{{ tag.name }} - {{ site_name }}</title>
11 13 {% else %}
@@ -4,6 +4,7 b''
4 4 {% load humanize %}
5 5
6 6 {% block head %}
7 <meta name="robots" content="noindex">
7 8 <title>{% trans 'Settings' %} - {{ site_name }}</title>
8 9 {% endblock %}
9 10
@@ -6,6 +6,7 b''
6 6 {% load board %}
7 7
8 8 {% block head %}
9 <meta name="robots" content="noindex">
9 10 <title>{{ thread.get_opening_post.get_title|striptags|truncatewords:10 }}
10 11 - {{ site_name }}</title>
11 12 {% endblock %}
@@ -3,6 +3,10 b''
3 3 {% load board %}
4 4 {% load i18n %}
5 5
6 {% block head %}
7 <meta name="robots" content="noindex">
8 {% endblock %}
9
6 10 {% block content %}
7 11 <div class="post-form-w">
8 12 <div class="post-form">
@@ -1,18 +1,16 b''
1 from django.core.urlresolvers import reverse
2 1 from django.core.exceptions import ObjectDoesNotExist
3 from django.db import transaction
4 2 from django.http import Http404
5 3 from django.shortcuts import get_object_or_404, render, redirect
6 4 from django.views.generic.edit import FormMixin
7 5
8 6 from boards import utils, settings
9 7 from boards.forms import PostForm, PlainErrorList
10 from boards.models import Post, Ban
11 from boards.views.banned import BannedView
8 from boards.models import Post
12 9 from boards.views.base import BaseBoardView, CONTEXT_FORM
13 10 from boards.views.posting_mixin import PostMixin
14 11 import neboard
15 12
13
16 14 TEMPLATE_GALLERY = 'boards/thread_gallery.html'
17 15 TEMPLATE_NORMAL = 'boards/thread.html'
18 16
General Comments 0
You need to be logged in to leave comments. Login now