{% load wagtailcore_tags %} {% load waggylabs_filters %}
{% for item in value.items %}

{% for block in item.body %} {% if block.block_type != 'citation' and block.block_type != 'document' %} {% comment %}these blocks a rendedered at the end of the page as references{% endcomment %} {% include_block block with id=block.id %} {% endif %} {% endfor %}
{% endfor %}