{%- for context in result[:6] %}
{%- if 'activity' in context['type'] -%}
{%- else -%}
  {{context['title']}}
{%- endfor %}