diff --git a/fet2020/posts/views.py b/fet2020/posts/views.py index 494bc4bf..a57dc68e 100644 --- a/fet2020/posts/views.py +++ b/fet2020/posts/views.py @@ -70,8 +70,6 @@ def show(request, id=None): if post_author: author_image = post_author.image['avatar'].url - ep_link = (get_pad_link(p.agenda_key), get_pad_link(p.protocol_key)) - context = { "post": p, "author_image": author_image, @@ -79,7 +77,6 @@ def show(request, id=None): "related_posts": p.tags.similar_objects(), "ep_agenda_link": get_pad_link(p.agenda_key), "ep_protocol_link": get_pad_link(p.protocol_key), - } response = render(request, 'posts/show.html', context) diff --git a/fet2020/templates/posts/partials/_date_box.html b/fet2020/templates/posts/partials/_date_box.html index a982b693..016d1b13 100644 --- a/fet2020/templates/posts/partials/_date_box.html +++ b/fet2020/templates/posts/partials/_date_box.html @@ -2,8 +2,8 @@
{{post.public_date}}
-