diff options
Diffstat (limited to 'templates/index.html')
| -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> |
