1
Fork 0

Cleanup base template

This commit is contained in:
Jake Howard 2016-11-24 16:44:13 +00:00
parent 3b392cd54f
commit 6e00fd6095

View file

@ -1,35 +1,26 @@
{% load static wagtailuserbar %} {% load static wagtailuserbar %}
<!DOCTYPE html> <!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <html>
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head> <head>
<meta charset="utf-8" /> <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>{% block title %}{% if self.seo_title %}{{ self.seo_title }}{% else %}{{ self.title }}{% endif %}{% endblock %}{% block title_suffix %}{% endblock %}</title> <title>{% block htmltitle %}{% if self.seo_title %}{{ self.seo_title }}{% else %}{{ self.title }}{% endif %}{% endblock %}</title>
<meta name="description" content="" /> <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="superfish" content="nofish" />
{# Global stylesheets #}
<link rel="stylesheet" type="text/css" href="{% static 'css/project.css' %}"> <link rel="stylesheet" type="text/css" href="{% static 'css/project.css' %}">
{% block extra_css %} {% block extra_css %}{% endblock %}
{# Override this in templates to add extra stylesheets #}
{% endblock %}
</head> </head>
<body class="{% block body_class %}{% endblock %}"> <body class="{% block body_class %}{% endblock %}" id="page-top">
{% wagtailuserbar %} {% wagtailuserbar %}
{% block content %}{% endblock %} {% block content %}{% endblock %}
{# Global javascript #}
<script type="text/javascript" src="{% static 'js/project.js' %}"></script> <script type="text/javascript" src="{% static 'js/project.js' %}"></script>
{% block extra_js %} {% block extra_js %}{% endblock %}
{# Override this in templates to add extra javascript #}
{% endblock %}
</body> </body>
</html> </html>