{% load wagtailcore_tags core_tags i18n %}
{% if featured_articles %}
{% include "patterns/basics/headings/sp_variations/heading.html" with type="component" htmltag="h2" title=section.title %}
{% for article in featured_articles %}
{% get_translation article.get_parent_section as origin_section %}
{% if origin_section == section %}
{% include "patterns/basics/article-teasers/sp_variations/teaser-thumbnail.html" with layouttype="grid" %}
{% include "patterns/basics/article-teasers/sp_variations/teaser-title.html" with layouttype="grid" %}
{% include "patterns/basics/comment-counter/sp_comment-counter.html" with layouttype="base" %}
{% endif %}
{% endfor %}
{% include "patterns/basics/buttons/sp_variations/text-dir-arrow_button.html" with direction="right" %}