{% set parent_post = post.parent_post if post else parent_post %}
{%- if not (post and post.parent_post) and not parent_post-%}
{%- endif -%}
{%- if view.name != "post" and not (post and post.parent_post) -%}
{%- if group.group_type == "Tasks" -%}
{%- if post and profile -%}
{% include "templates/includes/profile_display.html" %}
{%- endif -%}