]> git.parisson.com Git - mezzo.git/commitdiff
fix double post
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 10 May 2016 16:27:30 +0000 (18:27 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 10 May 2016 16:27:30 +0000 (18:27 +0200)
app/templates/blog/blog_post_detail.html

index c76c387aea98852cf8b2e014745f18cd993632d3..a433abb6140988f6f9aa302772cf0ca94f3c7323 100644 (file)
             {% include 'festival/inc/video_card.html' %}
         {% endfor %}
         {% for post in event.blog_posts.all %}
+          {% if post != blog_post %}
             {% include 'blog/includes/post_card.html' %}
+          {% endif %}
         {% endfor %}
     {% endfor %}
  </div>