<!DOCTYPE html>
{# Reset collected Javascript and Css #}
<html lang="{{ lang[0:2] }}">
  <head>
    <title>
      {%- block title %}
      {% endblock -%}
      {{ ' | ' + header_name.striptags() -}}
    </title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    {{ catalog.render_assets() }}
    <script src="{{url_for('static/main.js', v=cache_invalidate)}}"
            crossorigin="anonymous"></script>
    <link href="{{ url_for('static/main.css', v=cache_invalidate) }}"
          type="text/css"
          rel="stylesheet"
          crossorigin="anonymous" />
    <link href="{{ url_for('static/print.css', v=cache_invalidate) }}"
          media="print"
          type="text/css"
          rel="stylesheet"
          crossorigin="anonymous" />
    <link href="{{ url_for('static/favicon', v=cache_invalidate) }}"
          rel="icon"
          type="image/svg+xml"
          crossorigin="anonymous">
    {% block head %}{% endblock %}
  </head>
  <body>
    {% block navbar %}
      {% include "navbar.html" %}
    {% endblock %}
    <main>
      <div class="container">
        {% block body %}{% endblock %}
      </div>
    </main>
  </body>
</html>
