{% comment %} Copyright (C) 2015-2024 The Software Heritage developers See the AUTHORS file at the top-level directory of this distribution License: GNU Affero General Public License version 3, or any later version See top-level LICENSE file for more information {% endcomment %} {% load js_reverse %} {% load static %} {% load render_bundle from webpack_loader %} {% load swh_templatetags %} {% block title %} {% block page_title %} {% endblock page_title %} – {% if not SWH_MIRROR_CONFIG %} Software Heritage archive {% else %} {{ SWH_MIRROR_CONFIG.partner_name }} Mirror of the Software Heritage archive {% endif %} {% endblock title %} {% render_bundle 'vendors' %} {% render_bundle 'webapp' %} {% render_bundle 'guided_tour' %} {{ request.user.is_authenticated|json_script:"swh_user_logged_in" }} {{ request.user.is_staff|json_script:"swh_user_is_staff" }} {{ user_is_ambassador|json_script:"swh_user_is_ambassador" }} {{ SWH_MIRROR_CONFIG|json_script:"swh_mirror_config" }} {% include "includes/favicon.html" %} {% block header %} {% endblock header %} {% if "url" in matomo and "site_id" in matomo %} {% endif %}