{% extends "coderedcms/blocks/base_block.html" %}
{% load wagtailcore_tags wagtailimages_tags %}
{% block block_render %}
<div class="row {{self.settings.custom_css_class}}" data-masonry='{"percentPosition": true }'>
  {% for page in pages %}
  {% with page.specific as article %}
  <div class="col-sm-6 col-lg-4 mb-4">
    {% include "coderedcms/blocks/article_block_card.html" %}
  </div>
  {% endwith %}
  {% endfor %}
</div>
{% endblock %}
