{% block title %}
{% if view.title %}
{# Managed properly by the view #}
{{ view.title }}
{% else %}
{# By hand in the template #}
{% block subtitle %}{% endblock subtitle%}
{% block sitetitle %}{% endblock sitetitle%}
{% endif %}
{% endblock title %}
{% compress css %}
{% block css %}
{# CSS for jqueryui: "smoothness" theme #}
{# OpenLayers: manually load the OpenLayers css so we can control the load order #}
{# pass theme:null to the OpenLayers.Map instance to prevent OL from autoloading it #}
{# Twitter bootstrap, but with an included #}
{# lizard_ui/lizard-bootstrap.less to overrides bootstrap defaults. #}
{# Bootstrap must be below jqueryui to avoid overriding. #}
{# Sprites: all icons (print, info, etc) in one cacheable image. #}
{% endblock css %}
{% endcompress %}
{% compress js %}
{% block javascript-in-head %}
{# Should probably remain unused. #}
{% endblock javascript-in-head %}
{% endcompress %}
{% block head-extras %}
{# Your own totally-unmanaged per-template extra css/javascript/links #}
{% endblock head-extras %}
{# HTML5 shiv/shim (they are equal), for IE6-8 support of HTML elements. After the styles. #}
{% block modal %}
{% include 'lizard_ui/modal_login.html' %}
{% include 'lizard_ui/change_language.html' %}
{% endblock %}
{% block page %}
{% block header %}
{% block logo %}
{% spaceless %}
{% endspaceless %}
{% endblock logo %}
{% block site-actions %}
{% if view.site_actions %}
{# Ajax calls need a CSRF token cookie, and this line sends one as a side effect #}
{# Already minimized, stable scripts. #}
{# Excanvas, for IE7 and IE8 support for HTML5 Canvas. #}
{# Scripts whose non-minified versions have some use in development scenarios. #}
{% if debug %}
{# speed up developing, change to OpenLayers.debug.js when we have OL troubles #}
{% else %}
{% endif %}
{% compress js %}
{% block javascript %}
{% endblock javascript %}
{% endcompress %}
{% block map-javascript %}
{# For lizard-map's wms handling #}
{% endblock map-javascript %}
{% if google_tracking_code %}
{% endif %}
{% if view.gauges_site_id %}
{% endif %}
{% block bottom-extras %}
{# Your own totally-unmanaged per-template extra css/javascript/links #}
{% endblock bottom-extras %}