{% extends "base.twig" %}

{% block content %}
{% include 'components/title_page.twig'  %}

	{% for item in posts %}
		<section>
			<div class="header">
				<div class="title">
					<h3>{{item.title}}</h3>
				</div>
				<div class="content_zone">
					{{item.text}}
				</div>
			</div>
			<div class="projet row">
				{% for projet in item.meta("projets") %}
					<div class="wrap_content col- col-md-6 col-lg-4">
							<div class="img">
								<img src="{{ Image(projet.image).src }}" alt="{{ Image(projet.image).title }}">
							</div>

							<div class="title _pjt">
								{{projet.titre}}
							</div>

							<div class="content">
								{{projet.text}}
							</div>
					</div>
				{% endfor %}
			</div>
		</section>
	{% endfor %}
{% endblock %}
