{# ========================================================================== #}
{# :: Page head (insert before body) #}
{# ========================================================================== #}
<head>
	{% if HEADSTART.hasCustomBpheadStart %}
		{% include HEADSTART.bpHeadStartPath %}
	{% endif %}

	<meta charset="utf-8"/>

	{# Page title #}
	<title>{{CONFIG.app.title}}</title>

	{# Meta tags #}
	<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
	<meta name="description" content="{{CONFIG.app.description}}"/>
	<meta name="robots" content="noodp, noydir"/>
	<meta name="viewport" content="width=device-width, initial-scale=1.0"/>

	{# Favicon #}
	<link rel="shortcut icon" href="{{CONFIG.app.favicon}}">

	{# Vendors #}
	{% for vendor in styleVendors %}
		<link rel="stylesheet" href="{{vendor}}" />
	{% endfor %}

	{# Core css #}
	{% if pageParams.loadCoreCSS %}
		<link rel="stylesheet" href="/css/core.min.css" />
	{% endif %}

	{# Overwrite css #}
	{% if CONFIG.styles.overwrite and pageParams.loadOverwriteCSS %}
		<link rel="stylesheet" href="{{CONFIG.styles.overwrite}}" />
	{% endif %}

	{# Project css #}
	{% if pageParams.loadProjectCSS %}
		{% set files = CONFIG.styles.files or [] %}

		{% if files %}
			{% for file in files %}
				<link rel="stylesheet" href="{{file}}" />
			{% endfor %}
		{% endif %}
	{% endif %}
</head>
