{# -*- coding: utf-8 -*- Copyright (C) 2015 - 2021 CERN. Copyright (C) 2020 - 2021 TU Wien. Invenio is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. #} {%- block head %} {%- block head_meta %} {%- if description %} {% endif %} {%- if keywords %} {% endif %} {%- if config.get('THEME_GOOGLE_SITE_VERIFICATION', None) %} {%- for google_id in config.THEME_GOOGLE_SITE_VERIFICATION %} {%- endfor %} {%- endif %} {%- endblock head_meta %} {%- block head_title %} {%- set title = title or _(config.THEME_SITENAME) or _('Invenio') %} {{title}} {%- endblock head_title %} {%- block head_links %} {%- if keywords %} {% endif %} {%- block head_links_langs %} {%- if alternate_urls %} {%- for alt_ln, alternate_url in alternate_urls.items() %} {%- endfor %} {%- endif %} {%- endblock %} {%- block head_apple_icons %} {%- endblock head_apple_icons %} {%- endblock head_links %} {%- block header %}{% endblock header %} {%- block css %} {{ webpack['theme.css'] }} {%- endblock css %} {%- block tuw_metadata %}{%- endblock tuw_metadata -%} {%- block tracking %} {%- if config.get("THEME_TUW_MATOMO_ENABLED", False) %} {{ webpack["invenio-theme-tuw-tracking.js"] }} {%- endif -%} {%- endblock tracking -%} {%- endblock head -%} {%- block page_header %} {% with show_search_bar = True %} {% include config.THEME_HEADER_TEMPLATE %} {% endwith %} {%- endblock page_header %}