{% for goal in goals %} {% if goal.homeScored %} {{ goal.timeMin }}' {{ goal.scorerName }} {% endif %} {{ goal.homeScore }} - {{ goal.awayScore }} {% if not goal.homeScored %} {{ goal.timeMin }}' {{ goal.scorerName }} {% endif %} {% endfor %}