{% if webmentions %}
{% assign mentions = webmentions.mentions | webmentionsByUrl: page.url %} {% if mentions['repost-of'].size > 0 %}

Reposts

{% endif %} {% if mentions['like-of'].size > 0 %}

Likes

{% endif %} {% if mentions['in-reply-to'].size > 0 %}

Comments

{% for mention in mentions['in-reply-to'] %} {% endfor %}
{% endif %}
{% endif %}