diff --git a/main/templates/index.html b/main/templates/index.html index 948ba9d..7b51f70 100644 --- a/main/templates/index.html +++ b/main/templates/index.html @@ -169,7 +169,7 @@
Email Care of David A. Sandor, Barrister & Solicitor, Acting Director:
- david.a.sandor@outlook.com + {{ contact }}


diff --git a/main/views.py b/main/views.py index 3070031..e3aa63f 100644 --- a/main/views.py +++ b/main/views.py @@ -14,7 +14,7 @@ from OACPL import settings def index(request): attorneys = Attorney.objects.filter(front_page=True) - return render(request, 'index.html', {'attorneys': attorneys}) + return render(request, 'index.html', {'attorneys': attorneys, 'contact': settings.EMAIL_CONTACT}) def contact(request):