now/templates/page/index.gohtml
Anhgelus Morhtuuzh 64c8ae31ff
feat(data): tags
2024-11-12 17:21:46 +01:00

24 lines
No EOL
821 B
Text

{{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}}