diff --git a/snipts/templates/snipts/list-public.html b/snipts/templates/snipts/list-public.html index f9a3088..f22aba3 100644 --- a/snipts/templates/snipts/list-public.html +++ b/snipts/templates/snipts/list-public.html @@ -8,7 +8,7 @@
  • RSS
  • - {% if snipts %} + {% if has_snipts %}
  • Compact
  • diff --git a/snipts/views.py b/snipts/views.py index aa419be..6003816 100644 --- a/snipts/views.py +++ b/snipts/views.py @@ -153,7 +153,7 @@ def list_public(request, tag_slug=None): if request.blog_user: return blog_list(request) - snipts = Snipt.objects.filter(public=True).order_by('-created')[:100] + snipts = Snipt.objects.filter(public=True).order_by('-created') if tag_slug: snipts = snipts.filter(tags__slug__in=[tag_slug])