{# -*- 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'] }} {{ webpack['invenio-theme-tuw-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 -%} {%- if config.THEME_TUW_DISPLAY_STAGING_WARNING -%}

Warning - You are currently working on our test environment. Any data upload to this system may be deleted. If you are looking for our main instance to share the data, please visit https://researchdata.tuwien.ac.at

{%- endif -%} {%- if config.get("THEME_TUW_MATOMO_ENABLED", False) %} {%- set matomo_url = config.get("THEME_TUW_MATOMO_URL") %} {%- set matomo_site_id = 2 %} {%- if config.get("THEME_TUW_DISPLAY_STAGING_WARNING", False) %} {% set matomo_site_id = 1 %} {%- endif %} {%- if not matomo_url.endswith("/") %} {%- set matomo_url = matomo_url + "/" %} {%- endif %} {%- endif %} {%- block body %} {%- block body_inner %} {%- block page_header %} {% include config.THEME_HEADER_TEMPLATE %} {%- endblock page_header %} {%- block page_body %} {% include "invenio_theme/body.html" %} {%- endblock page_body %} {%- block page_footer %} {% include config.THEME_FOOTER_TEMPLATE %} {%- endblock page_footer %} {%- endblock body_inner %} {%- block javascript %} {% include config.THEME_JAVASCRIPT_TEMPLATE %} {%- endblock javascript %} {%- block trackingcode %} {% include config.THEME_TRACKINGCODE_TEMPLATE %} {%- endblock trackingcode %} {%- endblock body %}