{% load wagtailcore_tags wagtailimages_tags static core_tags tip_tags i18n %}
<div class="article__content">
{% for block in content_type %}
  {% if block.block_type == 'heading' %}
    <h1 class="heading heading--yourtips">
      {{ block.value }}
    </h1>
  {% else %}
    {% if block.block_type == 'image' %}
      {% image block.value width-240 %}
    {% else %}
      {% if block.block_type == 'numbered_list' %}
        <ol>
        {% for item in block.value %}
            <li>{{ item|handle_markdown }}</li>
        {% endfor %}
        </ol>
      {% else %}
        {% if block.block_type == 'list' %}
          <ul>
          {% for item in block.value %}
            <li>{{ item|handle_markdown }}</li>
          {% endfor %}
        </ul>
        {% else %}
            {{ block }}
        {% endif %}
      {% endif %}
    {% endif %}
  {% endif %}
{% endfor %}
  </div>
