aboutsummaryrefslogtreecommitdiff
path: root/templates/page/index.gohtml
blob: f0ebaea76971869585c1be53503313c8ad4179b6 (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
25
26
{{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 }}
        </p>
        <nav class="links" style="{{ .Color.Button.GetBackground }}{{ .Color.Button.GetTextColor }}">
            {{ range $link := .Links }}
                <div class="link">
                    <a href="{{ .Link }}">{{ .Content }}</a>
                </div>
            {{ end }}
            <div class="link">
                <a href="/tags">Tags</a>
            </div>
        </nav>
    </main>
{{end}}