diff --git a/boards/templates/boards/notifications.html b/boards/templates/boards/notifications.html
--- a/boards/templates/boards/notifications.html
+++ b/boards/templates/boards/notifications.html
@@ -4,6 +4,7 @@
{% load i18n %}
{% block head %}
+
diff --git a/boards/views/thread/thread.py b/boards/views/thread/thread.py
--- a/boards/views/thread/thread.py
+++ b/boards/views/thread/thread.py
@@ -1,18 +1,16 @@
-from django.core.urlresolvers import reverse
from django.core.exceptions import ObjectDoesNotExist
-from django.db import transaction
from django.http import Http404
from django.shortcuts import get_object_or_404, render, redirect
from django.views.generic.edit import FormMixin
from boards import utils, settings
from boards.forms import PostForm, PlainErrorList
-from boards.models import Post, Ban
-from boards.views.banned import BannedView
+from boards.models import Post
from boards.views.base import BaseBoardView, CONTEXT_FORM
from boards.views.posting_mixin import PostMixin
import neboard
+
TEMPLATE_GALLERY = 'boards/thread_gallery.html'
TEMPLATE_NORMAL = 'boards/thread.html'