-
Notifications
You must be signed in to change notification settings - Fork 0
/
champions.html
59 lines (51 loc) · 2.25 KB
/
champions.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
title: Champions
layout: content
permalink: /champions/
description: teams that have proven themselves the best of the world by winning major international tournaments
---
{% for champion in site.champions reversed %}
<div class="m-b">
<div class="media">
{% if champion.logo %}
<div class="media-left">
<img class="media-object" src="/img/teams/{{champion.logo}}" style="max-height: 75px" />
</div>
{% endif %}
<div class="media-body">
<h4 class="media-heading">{{champion.name}}</h4>
{{champion.event}}<br />
{{champion.info}}
</div>
</div>
<div class="card-group">
{% for player in champion.team %}
<div class="card">
{% if player.image %}
<img class="card-img-top" src="/img/players/{{player.image}}" style="width: 100%" />
{% elsif champion.logo %}
<img class="card-img-top" src="/img/teams/{{champion.logo}}" style="width: 100%" />
{% endif %}
<div class="card-block">
<h4 class="card-title">{{player.alias}}</h4>
{% if player.name %}
<h6 class="card-subtitle text-muted">{{player.name}}</h6>
{% endif %}
</div>
<ul class="list-group list-group-flush">
{% if player.name %}
<li class="list-group-item">
<img src="/img/classes/{{player.class}}.png" style="max-height: 1rem; vertical-align: text-top" /> {{player.class | capitalize}}
</li>
{% endif %}
{% if player.country %}
<li class="list-group-item">
<span class="flag-icon flag-icon-{{player.flag}}" style="vertical-align: text-top"></span> {{player.country}}
</li>
{% endif %}
</ul>
</div>
{% endfor %}
</div>
</div>
{% endfor %}