{# -*- coding: utf-8 -*- Copyright (C) 2020 CERN. Copyright (C) 2020 Northwestern University. Copyright (C) 2021 New York University. Copyright (C) 2026 Front Matter. Invenio App RDM is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. invenio-app-rdm's front page header with the search box moved out of the navigation bar into the header, and the metrics for all records below the header's dark band while PIDBOX_FRONTPAGE_METRICS is on (frontpage_metrics.html). #} {%- extends config.THEME_HEADER_TEMPLATE %} {#- Remove search field from top bar on frontpage #} {%- block navbar_search %}{% endblock %} {%- block navbar %} {{ super() }} {%- block frontpage_search %} {%- endblock frontpage_search %} {% endblock navbar %} {#- invenio-app-rdm's header.html renders this block after , below the dark band (.outer-navbar) that holds the navbar block, so the metrics sit on the page background like those of the profile pages. #} {%- block breadcrumbs %} {{- super() }} {%- block frontpage_metrics %} {%- if config.PIDBOX_FRONTPAGE_METRICS %} {%- include "invenio_app_rdm/frontpage_metrics.html" %} {%- endif %} {%- endblock frontpage_metrics %} {%- endblock breadcrumbs %}