forked from andyburke/autonomous.contact
fix: fix 404s from templates trying to load bad image urls
This commit is contained in:
parent
0bc303a762
commit
19afb7f9fa
5 changed files with 8 additions and 3 deletions
|
|
@ -208,6 +208,7 @@
|
|||
<div class="media-preview-container">
|
||||
<img
|
||||
src="/images/placeholders/${String((context.post_datetime.ms % 9) + 1).padStart(2, '0')}.svg"
|
||||
loading="lazy"
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
|
@ -216,6 +217,7 @@
|
|||
<img
|
||||
src="${context.creator.meta?.avatar ?? '/images/default_avatar.gif'}"
|
||||
alt="user avatar"
|
||||
loading="lazy"
|
||||
/>
|
||||
</div>
|
||||
<div class="username-container">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue