fix: don't display presskit button if there is no link

This commit is contained in:
Adrien Allard 2025-10-29 18:47:16 +01:00
parent 92a54828de
commit 657fe2ce94
1 changed files with 2 additions and 0 deletions

View File

@ -47,12 +47,14 @@
{% endtrans %}
</a>
{% if game.meta.presskit_url %}
<a class="game--button" href="{{ game.meta.presskit_url }}">
<img class="contact--button-icon" src="/img/information-fill.svg"></img>
{% trans %}
Press Kit
{% endtrans %}
</a>
{% endif %}
</div>
</div>
</div>