From e02f1eb6dfaa0be2ab59ebc53075f829867fa46c Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 3 Feb 2014 09:35:15 +0000 Subject: [PATCH] move sitename to end for static pages, fixes #2118 --- pandora/item/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandora/item/views.py b/pandora/item/views.py index 6371966a..598662a7 100644 --- a/pandora/item/views.py +++ b/pandora/item/views.py @@ -1282,7 +1282,7 @@ def item(request, id): if clip['annotations']: clip['annotations'] = '
\n'.join(clip['annotations']) clips.append(clip) - head_title = u'%s – %s' % (settings.SITENAME, item.get('title', '')) + head_title = item.get('title', '') title = item.get('title', '') if item.get('director'): head_title += u' (%s)' % u', '.join(item.get('director', [])) @@ -1291,6 +1291,7 @@ def item(request, id): title += u' (%s)' % item.get('year') if view: head_title += u' – %s' % view + head_title += u' – %s' % settings.SITENAME head_title = ox.decode_html(head_title) title = ox.decode_html(title) ctx = {