<!-- Locale -->
<meta
http-equiv="Content-Language" content="{{ config('app.locale') }}">

<!-- To the Future! -->
<meta
http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

<!-- Meta Tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="generator" content="{{ config_get('streams::distribution.name') }}"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0">
<meta name="description" content="{{ trans(template.meta_description) }}"/>

{% block ogdata %}
    <meta
    property="og:site_name" content="{{ setting_value('streams::name', config_get('streams::distribution.name')) }}"/>
    {#<meta property="og:image" content="{{ image_url('qcr.theme.qcr::img/og.png') }}"/>#}
    <meta property="og:description" content="{{ trans(template.meta_description) }}"/>
    <meta property="og:title" content="{{ trans(template.meta_title) }}"/>
    <meta property="og:url" content="{{ url_current() }}"/>
    <meta property="og:type" content="website"/>
{% endblock %}

{% if template.page.disable_indexing.value %}
    <meta name="robots" content="noindex">
{% endif %}

{{ template.includes.render('meta')|raw }}

<title>
    {{ setting_value('streams::name', config_get('streams::distribution.name')) }}
    &#8250;
    {{ strip_tags(trans(template.meta_title)) }}
</title>

<!-- Favicon -->
{{ favicons(template.theme.favicon) }}

{# Base Theme Components #}
{{ asset_add("theme.css", "qcr.theme.qcr::css/bootstrap.css") }}
{{ asset_add("theme.css", "qcr.theme.qcr::css/font-awesome.css") }}

{# Specific Build Files #}
{{ asset_add("build.css", "qcr.theme.qcr::css/theme.css") }}

<link rel="stylesheet" href="{{ template.theme.typekit }}">

{# Include Asset Collections #}
{{ asset_style("theme.css", ["min"]) }}
{{ asset_style("build.css", ["parse", "min", "watch@qcr.theme.qcr::scss/theme"]) }}

<style type="text/css">
    {{template.includes.render('styles')|raw}}
</style>

{% if template.theme.stylesheet %}
{{ asset_style(template.theme.stylesheet) }}
{% endif %}

{# Important!! #}
{{ constants() }}

{{ template.includes.render('head')|raw }}
