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
|
|
@ -379,7 +379,7 @@
|
|||
<template id="server-list-entry-template">
|
||||
<div class="server-list-entry">
|
||||
<a href="${ server.url }">
|
||||
<img class="server-icon" src="${ server.icon ?? ( server.url + '/favicon.ico' ) }" alt="${ server.name ?? server.url } icon" style="${ server.icon_background ? `--icon-background: ${ server.icon_background };` : '' }" />
|
||||
<img class="server-icon" src="${ server.icon ?? ( server.url + '/favicon.ico' ) }" alt="${ server.name ?? server.url } icon" style="${ server.icon_background ? `--icon-background: ${ server.icon_background };` : '' }" loading="lazy" />
|
||||
<div class="server-name">${ server.name ?? server.url }</div>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue