diff --git a/judge/views/blog.py b/judge/views/blog.py index 66832c8..f280caf 100644 --- a/judge/views/blog.py +++ b/judge/views/blog.py @@ -38,7 +38,7 @@ class PostList(ListView): context['title'] = self.title or _('Page %d of Posts') % context['page_obj'].number context['first_page_href'] = reverse('home') context['page_prefix'] = reverse('blog_post_list') - context['comments'] = Comment.most_recent(self.request.user, 10) + context['comments'] = Comment.most_recent(self.request.user, 25) context['new_problems'] = Problem.objects.filter(is_public=True, is_organization_private=False) \ .order_by('-date', '-id')[:settings.DMOJ_BLOG_NEW_PROBLEM_COUNT] context['page_titles'] = CacheDict(lambda page: Comment.get_page_title(page)) diff --git a/templates/blog/list.html b/templates/blog/list.html index 7ce10e9..fc92f76 100644 --- a/templates/blog/list.html +++ b/templates/blog/list.html @@ -200,41 +200,6 @@ {% endif %} - - {% if perms.judge.test_site and own_open_tickets %} {% endif %} + + + + {% block after_posts %}{% endblock %}