{# ========================================================================== #}
{# :: Private data #}
{# ========================================================================== #}
{% set _nav = [
	{
		text: "Home",
		url: "/",
		slug: "home"
	},
	{
		text: "Brand",
		url: "/brand",
		slug: "brand"
	},
	{
		text: "Resources",
		url: "/resources",
		slug: "resources"
	},
	{
		text: CONFIG.taxonomy.library.name | capitalize | replace("-", " "),
		url: "/" + CONFIG.taxonomy.library.route,
		slug: CONFIG.taxonomy.library.route
	}
] %}

{# ========================================================================== #}
{# :: Default #}
{# ========================================================================== #}
{% macro default(classes, data) %}

	<nav class="bp-c-nav {{classes}}">
		<ul class="bp-c-nav__list">
			{% for item in _nav %}

				<li class="bp-c-nav__item {{'is-active' if data.active === item.slug}}">
					<a class="bp-c-nav__link" href="{{item.url}}">{{item.text}}</a>
				</li>

			{% endfor %}
		</ul>
	</nav>

{% endmacro %}
