Files
zulip/templates/zephyr/base.html
Zev Benjamin b46bc6004f Load blueslip as early as possible
This will help us track down errors in third-party javascript
libraries.

blueslip needs jQuery and the page_params, so those must come first.

(imported from commit f53f67d758298d4e1c2784ec27e09d6abf0b3223)
2013-05-20 23:29:54 -04:00

43 lines
1.4 KiB
HTML

<!DOCTYPE html>
<html>
{# Base template for the whole site. #}
{% load compressed %}
<head>
<meta charset="UTF-8">
{% if user_profile.realm.domain %}
<title>{{user_profile.realm.domain}} - Humbug</title>
{% else %}
<title>Humbug</title>
{% endif %}
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="https://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link href="/static/third/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="/static/third/bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css'>
<link href="/static/favicon.ico?v=2" rel="shortcut icon">
{# We need to import jQuery before Bootstrap #}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
{% block page_params %}
{# blueslip needs page_params.debug_mode. Set it to false by default. #}
<script type="text/javascript">
var page_params = {debug_mode: false};
</script>
{% endblock %}
{% compressed_js 'blueslip' %}
<script src="/static/third/bootstrap/js/bootstrap.min.js"></script>
{% compressed_js 'common' %}
{% block customhead %}
{% endblock %}
</head>
<body>
{% block content %}
{% endblock %}
</body>
</html>