Skip to content

Commit

Permalink
Fixed missing capsule images for new games/assets.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilge committed Sep 26, 2024
1 parent 4dac865 commit 0726514
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion template/layout/ranking.twig
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@
<div{% if game.rank is defined %} id="{{ game.rank }}"{% endif %}>
<div>
<a href="{{ steam.app_url(game.id) }}" {{ steam.video_attr(game.name, game.videos) }}>
<img alt="Logo" data-src="//steamcdn-a.akamaihd.net/steam/apps/{{ game.id }}/capsule_184x69.jpg"
<img alt="Logo" data-src="//shared.cloudflare.steamstatic.com/store_item_assets/steam/apps/
{{- game.id }}/{{ game.capsule_hash }}/capsule_231x87
{{- game.capsule_alt is not null ? '_alt_assets_' ~ game.capsule_alt }}.jpg"
class="lazy"
></a>
</div>
Expand Down

0 comments on commit 0726514

Please sign in to comment.