diff --git a/pandora/mobile/views.py b/pandora/mobile/views.py index 9e02ae7b..1fc87e6f 100644 --- a/pandora/mobile/views.py +++ b/pandora/mobile/views.py @@ -25,6 +25,8 @@ def index(request, fragment): document = Document.objects.filter(id=ox.fromAZ(id)).first() if document and document.access(request.user): context['title'] = document.data['title'] + if document.data.get('description'): + context['description'] = document.data['description'] link = request.build_absolute_uri(document.get_absolute_url()) # FIXME: get preview image or fragment parse from url public_id = ox.toAZ(document.id) diff --git a/pandora/templates/document.html b/pandora/templates/document.html index c893d363..34139cc4 100644 --- a/pandora/templates/document.html +++ b/pandora/templates/document.html @@ -22,7 +22,7 @@