-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (39 loc) · 1.85 KB
/
index.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
---
title: Home
layout: default
---
<div class="container-fluid mb-5">
<div class="container-md text-center">
<img src="/assets/img/banner.png" alt="simplestation banner" class="img-fluid">
</div>
<div class="container-fluid px-5 text-center">
<div class="container-fluid px-5">
<hr class="border-2">
<h1 class="text-center">
Game Servers
</h1>
<hr class="border-2">
</div>
<div class="row row-cols-xxl-4 row-cols-xl-4 row-cols-lg-3 row-cols-md-1 row-cols-sm-1 row-cols-1">
{%- assign servers = site.servers | sort: 'sort_priority', 'last' -%}
{%- for server in servers -%}
{% assign server_name = server.id | split: "/" | last %}
<div class="col server-column">
<a href=" {{- server.url -}} ">
<div class="img-fluid server-banner" style="background-image: url(/assets/img/servers/ {{- server_name -}} /banner.png);"></div>
</a>
<button class="btn btn-secondary d-lg-none mb-3 btn-lg w-75 shadow"
type="button"
data-bs-toggle="collapse"
data-bs-target="# {{- server_name -}} -desc"
aria-expanded="false"
aria-controls=" {{- server_name -}} -desc">
</button>
<div id=" {{- server_name -}} -desc" class="collapse d-lg-block">
<p class="p-3 border-bottom border-end rounded rounded-5 server-description ss-bg-bg-alt shadow"> {{- server.server_description | rstrip | newline_to_br | strip_newlines -}} </p>
</div>
</div>
{%- endfor -%}
</div>
</div>
</div>