forked from mondaynightskippys/mondaynightskippys.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
94 lines (91 loc) · 3.33 KB
/
Copy pathindex.html
File metadata and controls
94 lines (91 loc) · 3.33 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
---
layout: default
---
<div class="px-3 py-3 pt-md-5 pb-md-4 mx-auto text-center">
<h1 class="display-4">Monday Night Skippys</h1>
<p class="lead">Welcome to the home of the World Famous UK&I Monday Night Skippys website. The site aims to be a central place for all things related to the league.</p>
</div>
<div class="row mx-5">
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item"
src="https://www.youtube.com/embed/?list=PL-wz-fxCI5TtKIy0O1wZWBvp9n91787bh&listType=playlist&rel=0"
allowfullscreen></iframe>
</div>
</div>
<div class="card-columns mt-3">
<div class="card">
<h5 class="card-header">Current Standings</h5>
<div class="card-body">
<table class="table table-sm">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Name</th>
<th scope="col">Points</th>
</tr>
</thead>
<tbody>
{% for driver in site.data.standings limit:10 %}
{% if driver[1].change > 0 %}
{% assign class = 'table-success' %}
{% elsif driver[1].change < 0 %}
{% assign class = 'table-danger' %}
{% else %}
{% assign class = '' %}
{% endif %}
<tr class="{{ class }}">
<th scope="row">{{ driver[1].position }}</th>
<td>{{ driver[1].name }}</td>
<td>{{ driver[1].points }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<p class="card-text">Keep track of your favourite teams and drivers and keep track of where they are in the standings.</p>
</div>
<div class="card-footer">
<a class="btn btn-primary" href="https://www.danlisa.com/scoring/season_standings.php?season_id=7955" target="_blank">View standings »</a>
</div>
</div>
<div class="card">
<h5 class="card-header">Current Champion</h5>
<div class="card-body">
{% assign cur_champ = site.data.champions.last.seasons.last %}
<p class="card-text">The current {{ site.data.champions.last.year }}S{{ cur_champ.season }} League Champion is:</p>
<h5 class="card-text text-center">{{ cur_champ.name }}</p>
</div>
<div class="card-footer">
<a class="btn btn-primary" href="/champions">View Past Champions »</a>
</div>
</div>
<div class="card">
<h5 class="card-header">Streamers</h5>
<div class="card-body">
<p class="card-text">Compound view of all twitch streamers</p>
</div>
<div class="card-footer">
<a class="btn btn-primary" href="/twitchers">View Streamers »</a>
</div>
</div>
<div class="card">
<h5 class="card-header">Discord</h5>
<div class="card-body">
<p class="card-text">Chat to the community on the UK&I Discord server</p>
</div>
<div class="card-footer">
<a class="btn btn-primary" href="https://discord.gg/Wsph2qs">#skippymondays »</a>
</div>
</div>
{% for post in site.posts limit:3 %}
<div class="card">
<h5 class="card-header">{{ post.title }}</h5>
<div class="card-body">
<p class="card-text">{{ post.excerpt }}</p>
<a href="{{ site.baseurl }}{{ post.url }}" class="read-more">Read More</a>
</div>
<div class="card-footer">
<small class="text-muted">{{ post.date | date_to_long_string }}</small>
</div>
</div>
{% endfor %}
</div>