{% load static wagtailuserbar %}

<!DOCTYPE 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' %}">

    {% block extra_css %}{% endblock %}
    <script type="text/javascript" src="{% static 'js/jquery.js' %}"></script>
  </head>
  <body class="{% block body_class %}{% endblock %}" id="page-top">
    {% wagtailuserbar %}

    {% include 'common/navbar.html' with page=self %}

    {% block content %}{% endblock %}

    <script type="text/javascript" src="{% static 'js/libs.js' %}"></script>
    <script type="text/javascript" src="{% static 'js/app.js' %}"></script>

    {% block extra_js %}{% endblock %}
  </body>
</html>