fix other post pSingle

This commit is contained in:
2020-05-29 11:45:55 +02:00
parent db9bb066cd
commit 919cc086b9
4 changed files with 26 additions and 15 deletions
+6 -12
View File
@@ -18,7 +18,7 @@
<span class="end">
<time><p>au</p>{{post.fin_event}}</time>
</span>
</div>
</div>
</div>
<div class="lieu">{{post.lieu}}</div>
</div>
@@ -66,15 +66,9 @@
</article>
</div>
<div class="other-posts">
{% for item in posts %}
{% include 'components/thumbnails/thumbnails.twig' %}
{#{% if {{site.url}} == "{{item.slug}}" %}
{% else %}
{% include 'components/thumbnails/thumbnails.twig' %}
{% endif %}#}
{% endfor %}
</div>
</div>
<div class="other-posts">
{% for item in other %}
{% include 'components/thumbnails/thumbnails.twig' %}
{% endfor %}
</div>
{% endblock %}