{% extends 'partials/_master.twig' %}

{% block main %}
	<section>
		<div class="container">
			<h1>{{ record.title }}</h1>
			<div class="row">
				<div class="col-12 col-sm-7 col-lg-6 mb-5 mb-lg-0">
					<div class="px-0 px-lg-4">{{ record.content|raw }}</div>
				</div>
				<div class="col-12 col-lg-6">
					{% if editions is not empty %}
						{% for edition in editions %}
							<div class="{% if loop.index%2==1 %} bg-box{% endif %} bg-box-navi p-3 news-item">
								<a href="{{ path('edition', {slug: edition.slug}) }}">
									<h3>{{ edition.title }}</h3>
									<div>{{ edition.description|nl2br }}</div>
								</a>
							</div>
						{% endfor %}
					{% endif %}
				</div>
			</div>
		</div>
	</section>

	{{ include('sections/_newsletter.twig') }}
	
{% endblock main %}