{# Copyright (C) 2020-2026 Graz University of Technology. invenio-override is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. #} {%- extends "invenio_app_rdm/header_frontpage.html" %} {%- block page_inner_banner %}{% endblock %} {% set options = [] %} {% set base_option = { "key": "rdm", "text": _("Research Results"), "value": "/records/search", "title": "Research Data", } %} {% set options = options + [base_option] %} {% if config.OVERRIDE_SHOW_PUBLICATIONS_SEARCH %} {% set pub_option = { "key": "marc21", "text": _("Publications"), "value": "/publications/search", "title": "Publication", } %} {% set options = options + [pub_option] %} {% endif %} {% if config.OVERRIDE_SHOW_EDUCATIONAL_RESOURCES %} {% set edu_option = { "key": "lom", "text": _("Educational Resources"), "value": "/oer/search", "title": "OER", } %} {% set options = options + [edu_option] %} {% endif %} {% if options | length > 1 %} {% set all_option = { "key": "records", "text": _("All"), "value": url_for("invenio_search_ui.search"), "title": "repo", } %} {% set options = [all_option] + options %} {% endif %} {%- block site_banner %} {%- from "invenio_banners/banner.html" import banner with context -%} {{ banner() }} {%- endblock site_banner %} {%- block frontpage_search %} {%- endblock frontpage_search %}