aboutsummaryrefslogtreecommitdiff
path: root/templates/page/index.gohtml
blob: b3139a3f3aeae24b86e7285bbd0b105d89a23756 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{{define "body"}}
    <main style="{{ .GetBackground }}">
        <div class="presentation">
            <figure>
                <img src="{{ getStaticPath .Person.Image }}" alt="{{ .Person.Name }}'s image">
            </figure>
            <div class="presentation__information">
                <h2>{{ .Person.Name }}</h2>
                <p>{{ .Person.Pronouns }}</p>
            </div>
        </div>
        <p class="description">
            {{ .Description }}
            <a href="/tags">More information...</a>
        </p>
        <div class="links">
            {{ range $link := .Links }}
            <div class="link" style="{{ .GetBackground }}">
                <a href="{{ .Link }}" style="{{ .GetLinkColor }}">{{ .Content }}</a>
            </div>
            {{end}}
        </div>
    </main>
{{end}}