merged
This commit is contained in:
@@ -48,8 +48,16 @@ def tags(request, tag=""):
|
||||
(job_names[idx], active_members[idx], tag + "#" + slug_list[idx])
|
||||
)
|
||||
|
||||
author_image = None
|
||||
if featured_post:
|
||||
post_author = Member.all_members.filter(nickname=featured_post.author).first()
|
||||
|
||||
if post_author:
|
||||
author_image = post_author.image['avatar'].url
|
||||
|
||||
context = {
|
||||
"posts": posts,
|
||||
"author_image": author_image,
|
||||
"featured_post": featured_post,
|
||||
"members": members,
|
||||
"tags_list": None,
|
||||
|
||||
Reference in New Issue
Block a user