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 %}
|
|
@ -1,14 +1,12 @@
|
|||
{% if mentions['link-to'].size > 0 %}
|
||||
<h2>Links</h2>
|
||||
<div class="interaction">
|
||||
<ul>
|
||||
{% for mention in mentions['link-to'] %}
|
||||
<li>
|
||||
<a href="{{ mention.url }}">
|
||||
{{ mention.name }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<ul class="link__list">
|
||||
{% for mention in mentions['link-to'] %}
|
||||
<li>
|
||||
<a href="{{ mention.url }}">
|
||||
{{ mention.name }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
Reference in a new issue