add other posts singles

This commit is contained in:
2020-05-28 09:27:03 +02:00
parent c8b91521ad
commit 9c18a8ced4
2 changed files with 12 additions and 7 deletions
+9 -2
View File
@@ -2,16 +2,23 @@
{% block content %}
<div class="content-wrapper">
<!-- {{dump(post)}} -->
<article class="post-type-{{ post.titre}}">
<img src="{{ post.image_event}}">
<section class="article-content">
<h1 class="article-h1">{{ post.titre }}</h1>
<div class="article-body">
{{post.description}}
{{post.lieu}}
</div>
<div class="other-posts">
{% for item in posts %}
{% include 'components/thumbnails/thumbnails.twig' %}
{% endfor %}
</div>
</section>
</article>
</div><!-- /content-wrapper -->