2012-08-28 21:06:20 +02:00
|
|
|
<!DOCTYPE html>
|
2016-05-13 12:44:03 +02:00
|
|
|
<html lang='{{LANGUAGE_CODE}}'>
|
2012-08-28 21:06:20 +02:00
|
|
|
|
2017-02-28 04:44:31 +01:00
|
|
|
{# Base template for the whole site. #}
|
2012-10-16 06:03:29 +02:00
|
|
|
|
2017-02-28 04:44:31 +01:00
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
{% block title %}
|
|
|
|
{% if user_profile and user_profile.realm.name %}
|
2017-02-21 20:44:43 +01:00
|
|
|
<title>{{user_profile.realm.name}} - Zulip</title>
|
2017-02-28 04:44:31 +01:00
|
|
|
{% else %}
|
|
|
|
<title>Zulip</title>
|
2018-04-10 14:57:16 +02:00
|
|
|
{% include 'zerver/meta_tags.html' %}
|
2017-02-28 04:44:31 +01:00
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
<link href="/static/favicon.ico?v=2" rel="shortcut icon">
|
2017-03-09 02:35:17 +01:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
2013-05-17 23:32:08 +02:00
|
|
|
|
2017-02-28 04:44:31 +01:00
|
|
|
{# We need to import jQuery before Bootstrap #}
|
|
|
|
{% stylesheet 'common' %}
|
|
|
|
{% 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 %}
|
2018-04-22 06:26:16 +02:00
|
|
|
{{ render_bundle('common', attrs='nonce="%s"' % (csp_nonce)) }}
|
2017-02-28 04:44:31 +01:00
|
|
|
{% block customhead %}
|
|
|
|
{% endblock %}
|
2017-10-18 01:00:47 +02:00
|
|
|
|
|
|
|
<!-- this is required because we want to put a custom head in
|
|
|
|
`zerver/portico.html` that isn't overwritten like the
|
|
|
|
`customhead` -->
|
|
|
|
{% block porticocustomhead %}
|
|
|
|
{% endblock %}
|
2017-02-28 04:44:31 +01:00
|
|
|
</head>
|
2012-08-28 21:06:20 +02:00
|
|
|
|
2017-02-28 04:44:31 +01:00
|
|
|
<body>
|
|
|
|
{% block content %}
|
|
|
|
{% endblock %}
|
|
|
|
</body>
|
2012-08-28 21:06:20 +02:00
|
|
|
|
|
|
|
</html>
|