chore: cleanup webmentions
This commit is contained in:
parent
1c797df244
commit
e45bfe2e8d
7 changed files with 31 additions and 38 deletions
|
@ -3,7 +3,7 @@
|
|||
{% tablericon "calendar-time" "Anticipated albums" %}
|
||||
Anticipated albums
|
||||
</h2>
|
||||
<ul class="media__links">
|
||||
<ul class="link__list">
|
||||
{% for album in albumReleases %}
|
||||
<li>
|
||||
<strong>{{ album.date | readableDate }}: </strong>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
{% tablericon "link" "Links" %}
|
||||
Links
|
||||
</h2>
|
||||
<ul class="media__links">
|
||||
<ul class="link__list">
|
||||
{% for link in links limit: 5 %}
|
||||
<li>
|
||||
<a class="no-underline" href="{{link.url}}" title="{{link.title | escape}}">
|
||||
|
|
|
@ -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