{% set headStylesheets %}
    {% block head_stylesheets -%}
        <link rel="stylesheet" href="{{ url('gantry-assets://css/font-awesome.min.css') }}" type="text/css"/>
        <link rel="stylesheet" href="{{ url('gantry-engine://css-compiled/nucleus.css') }}" type="text/css"/>
        {% for css in gantry.theme.configuration.css.persistent|default(gantry.theme.configuration.css.files) %}
            {%- set url = url(gantry.theme.css(css)) %}{% if url %}
            <link rel="stylesheet" href="{{ url(gantry.theme.css(css)) }}" type="text/css"/>
        {% endif %}
        {%- endfor %}
    {% endblock -%}

    {% block head_platform %}{% endblock %}

     {% block head_overrides -%}
         {% for css in gantry.theme.configuration.css.overrides %}
             {%- set url = url(gantry.theme.css(css)) %}{% if url %}
             <link rel="stylesheet" href="{{ url(gantry.theme.css(css)) }}" type="text/css"/>
         {% endif %}
         {%- endfor %}
     {% endblock -%}
{% endset %}
{% do parse_assets(headStylesheets, 'head', 10) -%}

<head>
    {%- block head_meta -%}
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        {% if gantry.config.styles.base.favicon %}
        <link rel="icon" type="image/x-icon" href="{{ url(gantry.config.styles.base.favicon) }}" />
        {% endif %}
    {%- endblock %}

    {%- block head_title -%}
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Title</title>
    {%- endblock %}

    {% block head_application -%}
        {{ gantry.styles('head')|join("\n    ")|raw }}
        {{ gantry.scripts('head')|join("\n    ")|raw }}
    {%- endblock %}

    {% block head_ie_stylesheets -%}
        <!--[if (gte IE 8)&(lte IE 9)]>
        <script type="text/javascript" src="{{ url('gantry-assets://js/html5shiv-printshiv.min.js') }}"></script>
        <link rel="stylesheet" href="{{ url('gantry-engine://css/nucleus-ie9.css') }}" type="text/css"/>
        <script type="text/javascript" src="{{ url('gantry-assets://js/matchmedia.polyfill.js') }}"></script>
        <![endif]-->
    {% endblock -%}

    {% block head %}{% endblock %}
</head>
