From 58d446f711f010a58036289303f07eaf78fe7330 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Mon, 23 Oct 2017 09:43:26 +1100 Subject: [PATCH] Properly load the site name in the template, oops --- lemoncurry/settings/base.py | 4 ++++ lemoncurry/templates/lemoncurry/layout.html | 4 ++-- lemoncurry/templatetags/lemoncurry_tags.py | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/lemoncurry/settings/base.py b/lemoncurry/settings/base.py index b1565c1..652fd3e 100644 --- a/lemoncurry/settings/base.py +++ b/lemoncurry/settings/base.py @@ -124,3 +124,7 @@ USE_TZ = True # https://docs.djangoproject.com/en/1.11/howto/static-files/ STATIC_URL = '/static/' + + +# Settings specific to lemoncurry +LEMONCURRY_SITE_NAME = '00dani.me' diff --git a/lemoncurry/templates/lemoncurry/layout.html b/lemoncurry/templates/lemoncurry/layout.html index 919809b..f5c64de 100644 --- a/lemoncurry/templates/lemoncurry/layout.html +++ b/lemoncurry/templates/lemoncurry/layout.html @@ -1,7 +1,7 @@ {% load lemoncurry_tags static %} - {{ site_name }} + {% site_name %} @@ -11,7 +11,7 @@