Add very basic placeholder avatars
This commit is contained in:
parent
5d215d73b8
commit
058c7e2483
@ -32,7 +32,7 @@ eleventyComputed:
|
||||
<div class="row overlaps">
|
||||
{% for like in post.comments.like %}
|
||||
<a href="{{ like.author.url }}" rel="noreferrer" target="_blank">
|
||||
<img src="{{ like.author.avatars["96"] }}" alt="{{ like.author.name }}" class="circle" />
|
||||
<img srcset="/assets/avatar-placeholder.png, {{ like.author.avatars["96"] }}" alt="{{ like.author.name }}" class="circle" />
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
@ -46,7 +46,7 @@ eleventyComputed:
|
||||
<div class="row overlaps">
|
||||
{% for like in post.comments.repost %}
|
||||
<a href="{{ like.author.url }}" rel="noreferrer" target="_blank">
|
||||
<img src="{{ like.author.avatars["96"] }}" alt="{{ like.author.name }}" class="circle" />
|
||||
<img srcset="/assets/avatar-placeholder.png, {{ like.author.avatars["96"] }}" alt="{{ like.author.name }}" class="circle" />
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
BIN
src/assets/avatar-placeholder.png
Normal file
BIN
src/assets/avatar-placeholder.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
Loading…
Reference in New Issue
Block a user