{# Base template for the whole site. #}
{% block title %} {% if user_profile and user_profile.realm.name %}
{{user_profile.realm.name}} - Zulip
{% else %}
Zulip
{% endif %} {% endblock %}
{% block meta_viewport %}
{% endblock %} {% if not user_profile %} {% include 'zerver/meta_tags.html' %} {% endif %} {% macro bundle(name) %} {{ render_bundle(name, 'css', attrs='nonce="%s"' % (csp_nonce,) if csp_nonce else '') }} {{ render_bundle(name, 'js', attrs='defer nonce="%s"' % (csp_nonce,) if csp_nonce else 'defer') }} {% endmacro %} {% block commonjs %} {{ bundle('common') }} {% endblock %} {% block customhead %} {% endblock %} {# 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 %} {% block content %} {% endblock %}