{% set collection = page.collection() %}
{% set image = page.media.images|first %}

<section id="footer" class="section blog-listing">
  {% if image %}
    {{image.html('', 'footer')}}
  {% endif %}

  {% for item in collection %}
    <div class="sub-content ">
      {{item.content}}
    </div>
  {% endfor %}
</section>
