fix: don't display presskit button if there is no link
This commit is contained in:
parent
92a54828de
commit
657fe2ce94
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue