diff --git a/project/common/context.py b/project/common/context.py index 5189299..1182890 100644 --- a/project/common/context.py +++ b/project/common/context.py @@ -8,7 +8,8 @@ SETTINGS_KEYS = [ 'MEDIA_URL', 'LANGUAGE_CODE', 'TIME_ZONE', - 'ALLOWED_HOSTS' + 'ALLOWED_HOSTS', + 'WAGTAIL_SITE_NAME' ] diff --git a/templates/base.html b/templates/base.html index 72e08c1..1866cb3 100755 --- a/templates/base.html +++ b/templates/base.html @@ -1,13 +1,15 @@ {% load static wagtailuserbar %} - + {% block htmltitle %}{% if self.seo_title %}{{ self.seo_title }}{% else %}{{ self.title }}{% endif %}{% endblock %} + +