{%- capture title %} {% if type == 'repost-of' %} Reposts {% elsif type == 'like-of' %} Likes {% endif %} {% endcapture -%} {% if mentions[type].size > 0 %}