{# 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 webpack %} {{ render_entrypoint(entrypoint, 'css', attrs='nonce="%s"' % (csp_nonce,) if csp_nonce else '') }} {{ render_entrypoint(entrypoint, 'js', attrs='defer nonce="%s"' % (csp_nonce,) if csp_nonce else 'defer') }} {% endblock %} {% block customhead %} {% endblock %} {% block content %} {% endblock %} {% set all_page_params = default_page_params.copy() %} {% set _ = all_page_params.update(page_params) %} {% set entrypoint = entrypoint|default("common") %}