chore: cleanup webmentions

This commit is contained in:
Cory Dransfeldt 2024-01-06 08:17:05 -08:00
parent 1c797df244
commit e45bfe2e8d
No known key found for this signature in database
7 changed files with 31 additions and 38 deletions

View file

@ -8,16 +8,12 @@
{% if mentions[type].size > 0 %}
<h2>{{ title }}</h2>
<div class="interaction flex--centered">
<ul>
{% for mention in mentions[type] %}
<li>
<a href={{mention.url}}>
<div class="avatar__wrapper flex--centered">
{% image mention.author.photo, mention.author.name, 'avatar__wrapper-image' %}
</div>
</a>
</li>
{% endfor %}
</ul>
{% for mention in mentions[type] %}
<a href={{mention.url}}>
<div class="avatar__wrapper flex--centered">
{% image mention.author.photo, mention.author.name, 'avatar__wrapper-image' %}
</div>
</a>
{% endfor %}
</div>
{% endif %}