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
|
|
@ -170,6 +170,7 @@
|
|||
${context.essay.data?.media?.length ?
|
||||
context.essay.data.media.map(function(url) { return `<img
|
||||
src="${url}"
|
||||
loading="lazy"
|
||||
/>` }).join('\n') : ''}
|
||||
</div>
|
||||
|
||||
|
|
@ -178,6 +179,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