{# # This file is part of Invenio. # Copyright (C) 2012, 2013, 2014, 2015 CERN. # # Invenio is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of the # License, or (at your option) any later version. # # Invenio is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Invenio; if not, write to the Free Software Foundation, Inc., # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. #} {%- from "_macros.html" import flashed_messages with context -%} {%- block global_bundles %} {%- include "base/bundles.html" %} {%- endblock %} {%- block page -%} {%- if not no_pageheader -%} {%- block page_top -%} {%- block head %} {%- block head_meta %} {{ title+' - ' if title }}{{ config.CFG_SITE_NAME_INTL[g.ln] }} {%- if description %}{% endif %} {%- if keywords %}{% endif %} {%- if config.get('CFG_GOOGLE_SITE_VERIFICATION', None) %} {%- for google_id in config.CFG_GOOGLE_SITE_VERIFICATION %} {%- endfor %} {%- endif %} {%- endblock head_meta %} {%- block head_links %} {%- block head_links_langs %}{%- for alt_ln, alternate_url in alternate_urls.items() %} {%- endfor %}{%- 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 %} {{- metaheaderadd | safe }} {%- block metaheader %}{% endblock metaheader %} {%- endblock header %} {%- block _top_assets %} {%- block global_stylesheets %} {%- include "base/stylesheets.html" %} {%- endblock %} {%- endblock %} {%- block css %}{% endblock %} {%- endblock head %} {%- block body_start %}{% endblock body_start %} {%- block page_header -%}
{% block headerbox %} {% include 'header.html' %} {% endblock headerbox %} {% block breadcrumb %} {%- include 'breadcrumbs.html' -%} {% endblock breadcrumb %} {% block pageheaderadd %}{{ pageheaderadd|safe }}{% endblock pageheaderadd %}
{%- endblock page_header -%} {%- endblock page_top -%} {%- endif -%} {%- if not no_pagebody -%} {%- block page_body -%}
{% block title %} {% if title %} {% endif %} {% endblock title %} {% block noscript %} {% endblock %} {{ flashed_messages() }} {%- block body %} {{ body }} {%- endblock body %}
{%- endblock page_body %} {%- endif %} {%- if not no_pagefooter -%} {%- block page_bottom -%} {%- block page_footer %}
{# end wrap #} {%- endblock page_footer %} {%- block _bottom_assets %} {% block global_scripts %} {%- include "base/scripts.html" %} {% endblock %} {%- endblock %} {%- block javascript %}{% endblock %} {%- block trackingcode %}{% endblock %} {%- block body_end %}{% endblock %} {%- endblock page_bottom -%} {%- endif -%} {%- endblock page -%}