diff options
Diffstat (limited to 'chimere/views.py')
-rw-r--r-- | chimere/views.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chimere/views.py b/chimere/views.py index f2bc5fc..919824a 100644 --- a/chimere/views.py +++ b/chimere/views.py @@ -213,6 +213,10 @@ def index(request, area_name=None, default_area=None, simple=False, }) if hasattr(settings, 'PROJECT_IMAGE') and settings.PROJECT_IMAGE: response_dct['PROJECT_IMAGE'] = settings.PROJECT_IMAGE + if hasattr(settings, 'PROJECT_IMAGE_WIDTH'): + response_dct['PROJECT_IMAGE_WIDTH'] = settings.PROJECT_IMAGE_WIDTH + if hasattr(settings, 'PROJECT_IMAGE_HEIGHT'): + response_dct['PROJECT_IMAGE_HEIGHT'] = settings.PROJECT_IMAGE_HEIGHT if hasattr(settings, 'CONTACT_EMAIL') and settings.CONTACT_EMAIL: response_dct['contact_email'] = settings.CONTACT_EMAIL response_dct['share_networks'], net_dct = \ |