diff options
| author | Pinapelz <yukais@pinapelz.com> | 2026-06-05 19:05:51 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2026-06-05 19:05:51 -0700 |
| commit | 48bc1a271c81c340f42cf5b60e079b59532e5f27 (patch) | |
| tree | 66de2c0c1d65f8411bfc917a17d11d0e4ef7c2a8 /templates | |
| parent | 95d56dd94153cf464ada2c9bbbe840a3da14f98a (diff) | |
Update index.html
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/index.html | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/templates/index.html b/templates/index.html index 88b9ca9..b6b3e20 100644 --- a/templates/index.html +++ b/templates/index.html @@ -206,12 +206,10 @@ {% for game in games %} <tr data-type="{{ game.type }}"> <td> - {% if game.image %} - <img src="{{ game.image }}" alt="{{ game.name }}"> - {% else %} - <img src="https://files.catbox.moe/7wvr9k.jpg" - alt="Default Game Image"> - {% endif %} + {% set image_url = game.image or "https://files.catbox.moe/j25fgw.pjpg" %} + <a href="{{ image_url }}" target="_blank" rel="noopener noreferrer"> + <img src="{{ image_url }}" alt="{{ game.name }}"> + </a> </td> <td>{{ game.name }}</td> |
