{#<!--<div>
	{% include "menu.twig" with {'menu': enlaces.get_items} %}
</div>-->#}

<nav class="navbar fixed-top navbar-expand-lg navbar-light {% if is_front_page %}bg-transparent{% else %}bg-white{% endif %}">
	
	{#<a class="navbar-brand d-none" href="{{site.url}}">#}
	{#% if logotipo_cabecera %}{{logotipo_cabecera.src}}{% endif %#}

	<a class="navbar-brand{% if is_front_page %} d-none{% endif %}" href="{{site.url}}">
		<img src="{{site.theme.link}}/public/img/logo-andaira-20-aniversario.png" alt="{{ site.name }}">
	</a>
	
	<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#menuNav" aria-controls="menuNav" aria-expanded="false" aria-label="Toggle navigation">
		<img src="{{site.theme.link}}/public/img/toggler.png" alt="Toggle">
	</button>
	
	<div class="collapse navbar-collapse" id="menuNav">
		<ul class="navbar-nav menu ml-auto">
		  <li class="nav-item dropdown"><a class="nav-link dropdown-toggle" href="#" id="serviciosrDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Servicios</a>
			<div class="dropdown-menu" aria-labelledby="serviciosDropdown">
				{% for post in servicios %}
					<a class="dropdown-item" href="{{ post.link }}">{{ post.title }}</a>
				{% endfor %}
			</div>
		  </li>
		  <li class="nav-item"><a class="nav-link" href="{{site.url}}/proyectos">Proyectos</a></li>
		  <li class="nav-item"><a class="nav-link" href="{{site.url}}/quienes-somos">Quiénes somos</a></li>
		  <li class="nav-item"><a class="nav-link" href="{{site.url}}/actualidad">Actualidad</a></li>
		  <li class="nav-item"><a class="nav-link" href="{{site.url}}/contacto">Contacto</a></li>
		</ul>
		<ul class="navbar-nav social">
		  <li class="nav-item"><a class="nav-link" data-toggle="collapse" href="#searchform" role="button" aria-expanded="false"><i class="fa fa-search" aria-hidden="true"></i></a></li>
		  <li class="nav-item"><a class="nav-link" href="https://www.instagram.com/andairacoop/?hl=es" target="_blank"><i class="fa fa-instagram" aria-hidden="true"></i></a></li>
		  <li class="nav-item"><a class="nav-link" href="http://www.facebook.com/andairacoop" target="_blank"><i class="fa fa-facebook" aria-hidden="true"></i></a></li>
		  <li class="nav-item"><a class="nav-link" href="https://www.youtube.com/user/andairacooperativa" target="_blank"><i class="fa fa-youtube-play" aria-hidden="true"></i></a></li>
		</ul>
		<form id="searchform" role="search" method="get" action="{{site.url}}" class="collapse form-inline my-2 my-lg-0">
			<input class="form-control" type="text" name="s">
			<button class="text-body border-0 bg-transparent" type="submit"><i class="fa fa-search"></i></button>
		</form>
	</div>
  
</nav>
