Skip to content

Commit

Permalink
fix squad place holder player img
Browse files Browse the repository at this point in the history
  • Loading branch information
shrekshao committed Feb 24, 2021
1 parent b90701b commit c9dd716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/squad.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{% for player in include.squad %}
{% if player.locator != nil %}
<div class="player {{player.locator}}">
<img src="{{site.baseurl}}/assets/img/{{player.img}}" />
<img src="{{site.baseurl}}/assets/img/{{player.img | default: 'placeholder-player.jpg'}}" />
<p>{{player.number}} {{player.name}}</p>
</div>
{% endif %}
Expand Down

0 comments on commit c9dd716

Please sign in to comment.