chore: cleanup webmentions
This commit is contained in:
parent
1c797df244
commit
e45bfe2e8d
7 changed files with 31 additions and 38 deletions
|
@ -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 %}
|
Reference in a new issue