{# -*- coding: utf-8 -*- This file is part of Invenio. Copyright (C) 2015-2018 CERN. 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 %} {%- for size in [144, 114, 72, 57] %} {%- set icon_name = 'apple-touch-icon-%d-precomposed.png' | format(size) %} {%- endfor %} {%- endblock head_apple_icons %} {%- endblock head_links %} {%- block header %}{% endblock header %} {%- block css %} {{ webpack['theme.css']}} {# assets "invenio_theme_css" %}{% endassets #} {%- endblock css %} {%- endblock head %} {%- block body %} {%- block browserupgrade %} {%- endblock browserupgrade %} {%- 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 %} {%- endblock body %}