1
Fork 0

add django settings stuff to base

This commit is contained in:
Jake Howard 2016-11-24 22:02:27 +00:00
parent 004195e843
commit d82111caa7
2 changed files with 5 additions and 2 deletions

View file

@ -8,7 +8,8 @@ SETTINGS_KEYS = [
'MEDIA_URL',
'LANGUAGE_CODE',
'TIME_ZONE',
'ALLOWED_HOSTS'
'ALLOWED_HOSTS',
'WAGTAIL_SITE_NAME'
]

View file

@ -1,13 +1,15 @@
{% load static wagtailuserbar %}
<!DOCTYPE html>
<html>
<html lang="{{ django_settings.LANGUAGE_CODE }}">
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>{% block htmltitle %}{% if self.seo_title %}{{ self.seo_title }}{% else %}{{ self.title }}{% endif %}{% endblock %}</title>
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width" />
<meta http-equiv="Content-Language" content="{{ django_settings.LANGUAGE_CODE }}" />
<meta name="superfish" content="nofish" />
<meta name="application-name" content="{{ django_settings.WAGTAIL_SITE_NAME }}" />
<link rel="stylesheet" type="text/css" href="{% static 'css/index.css' %}">