{% comment %}
Base template pages.
{% endcomment %}

{% load staticfiles %}
{% load compress %}
{% load dashboard_extras %}

<!DOCTYPE html>
<!--[if lte IE 9]><html class="no-js lt-ie10" lang="en"><![endif]-->
<!--[if gt IE 9]><!--><html class="no-js" lang="en"><!--<![endif]-->
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <title>{% block title %}| {% settings_value 'FULL_APPLICATION_NAME' %}{% endblock title %}</title>

    {% comment %}
    The stylesheets can be either overriden or augmented here.  Make sure to use the block.super if you're
    adding additional stylesheets in your page when extending the base.
    {% endcomment %}

    {% block stylesheets %}
    {% compress css %}
      <link rel="stylesheet" href="{% static 'sass/style-application.scss' %}" type="text/x-scss">
      {% captureas theme_scss %}
        {% settings_value 'THEME_SCSS' %}
      {% endcaptureas %}
      <link rel="stylesheet" href="{% static theme_scss %}" type="text/x-scss">
    {% endcompress %}
    {% endblock %}

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

</head>

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