{%- block favicon %}
    {% if config['FAVICON_URL'] -%}
        <link rel="shortcut icon" type="image/x-icon" href="{{ config['FAVICON_URL'] }}" />
    {%- endif %}
{% endblock -%}

{%- block meta_csrf_token %}
    <meta name="csrf-token" content="{{ csrf_token() }}" />
{% endblock -%}

{%- block head_css %}
    <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.css') }}" />
    <link rel="stylesheet" href="{{ url_for('static', filename='css/main.css') }}" />
    <link rel="stylesheet" href="{{ url_for('static', filename='css/markitup.main.css') }}" />
    <link rel="stylesheet" href="{{ url_for('static', filename='css/markitup.set.css') }}" />
{% endblock -%}

{%- block head_js %}
    <!-- compatibility scripts and polyfills -->
    <!--[if lt IE 9]> <script src="{{ url_for('static', filename='js/lib/html5shiv-printshiv.min.js') }}"></script> <![endif]-->
    <script src="{{ url_for('static', filename='js/lib/es6-promise.min.js') }}"></script>
    <script src="{{ url_for('static', filename='js/lib/fetch.min.js') }}"></script>

    <script src="{{ url_for('static', filename='js/lib/jquery-2.2.4.min.js') }}"></script>
    <script src="{{ url_for('static', filename='js/lib/jquery-ui-1.12.1.sortable.min.js') }}"></script>
    <script src="{{ url_for('static', filename='js/lib/jquery.markitup.js') }}"></script>
    <script src="{{ url_for('static', filename='js/lib/jquery.slides.3.0.4.min.js') }}"></script>
    <script src="{{ url_for('static', filename='js/lib/bootstrap.min.js') }}"></script>
{% endblock -%}

{%- block meta_robots_tag %}{% if robots_noindex or robots_nofollow %}
    <meta name="robots" content="
        {%- if robots_noindex -%}noindex{%- else -%}index{%- endif -%}
        , {% if robots_nofollow -%}nofollow{%- else -%}follow{%- endif -%}" />
{% endif %}{% endblock -%}

{%- block html_block_head %}
{{ html_block('head') }}
{%- endblock -%}
