list.html 1.31 KB
Newer Older
1
2
3
4
{{ define "title" }}
  Team – {{ .Site.Title }}
{{ end }}

Tobias Bengfort's avatar
Tobias Bengfort committed
5
6
7
{{ define "main" }}
  <ul class="tiles tiles-big mt-2 mb-3">
    {{ range .Pages }}
8
      <li class="card bg-body">
Tobias Bengfort's avatar
Tobias Bengfort committed
9
        <h2 class="card-header bg-inverse">{{ .Params.name }} <small class="pronoun">{{ .Params.pronoun }}</small></h2>
Tobias Bengfort's avatar
Tobias Bengfort committed
10
11
12
13
        <div class="top-right">
          {{ if isset .Params "link" }}
            <a href="{{ .Params.link }}" class="icon-link">
              <picture>
Tobias Bengfort's avatar
Tobias Bengfort committed
14
15
                <source srcset="{{ "/gfx/weblight.svg" | relURL }}" media="(prefers-color-scheme: dark)">
                <img src="{{ "/gfx/webdark.svg" | relURL }}" alt="website">
Tobias Bengfort's avatar
Tobias Bengfort committed
16
17
18
19
20
21
              </picture>
            </a>
          {{ end }}
          {{ if isset .Params "twitter" }}
            <a href="{{ .Params.twitter }}" class="icon-link">
              <picture>
Tobias Bengfort's avatar
Tobias Bengfort committed
22
23
                <source srcset="{{ "/gfx/twitterlight.svg" | relURL }}" media="(prefers-color-scheme: dark)">
                <img src="{{ "/gfx/twitterdark.svg" | relURL }}" alt="twitter">
Tobias Bengfort's avatar
Tobias Bengfort committed
24
25
26
27
28
              </picture>
            </a>
          {{ end }}
        </div>
        <div class="card-body flex-grow-1">
Tobias Bengfort's avatar
Tobias Bengfort committed
29
          {{ .Content }}
Tobias Bengfort's avatar
Tobias Bengfort committed
30
31
32
        </div>
        <div class="card-body mb-1">
          <strong>Part of Resorts: </strong>{{ .Params.resorts }}
Tobias Bengfort's avatar
Tobias Bengfort committed
33
34
35
36
37
        </div>
      </li>
    {{ end }}
  </ul>
{{ end }}