{% load wagtailcore_tags wagtailimages_tags %}
{% if self.get_effective_image %}
  <a href="{% pageurl self.specific %}" class="article__anchor article__anchor--{{type}}">
    {% image self.get_effective_image fill-360x160 as article_image %}
    <img alt="{{ self.title }}" src="{{ article_image.url }}" class="article__image article__image--{{type}}" />
  </a>
{% endif %}
