{# 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 %} {% block page_params %} {# blueslip needs page_params.debug_mode. Set it to false by default. #} {% endblock %} {% macro bundle(name) %} {{ render_bundle(name, attrs='nonce="%s"' % (csp_nonce,) if csp_nonce else '') }} {% 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 %}