diff --git a/app/item/views.py b/app/item/views.py index 8944b55..fb8aa52 100644 --- a/app/item/views.py +++ b/app/item/views.py @@ -59,6 +59,7 @@ def item(request, id): ): raise Http404 context['item'] = item + context['url'] = request.build_absolute_uri(item.get_absolute_url()) qs = item.comments.order_by('created') if not request.user.is_staff: q = ~Q(published=None) diff --git a/app/templates/item.html b/app/templates/item.html index c348234..adf059e 100644 --- a/app/templates/item.html +++ b/app/templates/item.html @@ -1,6 +1,18 @@ {% extends "base.html" %} {% load static sass_tags compress %} {% block head %} +