Pulls in no posts fix by Peter

This commit is contained in:
2020-05-27 09:56:28 +02:00

View File

@@ -16,5 +16,7 @@ def index(request):
t=set( t for t in get_tags(posts))
if l>=1:
featured_post=posts.popleft()
else:
featured_post=0
return render(request, 'home.html',{'posts':posts, 'featured_post':featured_post, "tags_list": ", ".join(t)})