{# Base template for the whole site. #} {% block title %} {% if user_profile and user_profile.realm.name %} {{user_profile.realm.name}} - Zulip {% else %} {% if PAGE_TITLE %} {{ PAGE_TITLE }} {% endif %} {% endif %} {% endblock %} {% block meta_viewport %} {% endblock %} {% if not user_profile %} {% include 'zerver/meta_tags.html' %} {% endif %} {% block webpack %} {% for filename in webpack_entry(entrypoint) -%} {% if filename.endswith(".css") -%} {% elif filename.endswith(".js") -%} {% endif -%} {% endfor %} {% endblock %} {% block customhead %} {% endblock %} {% block content %} {% endblock %} {% set all_page_params = default_page_params.copy() %} {% set _ = all_page_params.update(page_params|default({})) %} {% set entrypoint = entrypoint|default("common") %}