hatecomputers.club/templates/home.html

21 lines
837 B
HTML

{{ define "content" }}
<h2 class="blinky">hello there!</h2>
<p>current peeps in the club :D</p>
<div class="club-members">
{{ range $user := .Users }}
<div class="club-member">
<div class="avatar">
<img src="{{ $user.Avatar }}" alt="Profile picture for {{ $user.Username }}">
</div>
<div class="about">
<div class="club-member-name">{{ $user.Username }}</div>
<div><span class="text-muted">pronouns:</span> <span class="bolder">{{ $user.Pronouns }}</span></div>
<div><span class="text-muted">location:</span> <span class="bolder">{{ $user.Location }}</span></div>
<div><span class="text-muted">www:</span> <span class="bolder"><a href="{{ $user.Website }}">{{ $user.Website }}</a></span></div>
</div>
<div class="club-bio">{{ $user.Bio }}</div>
</div>
{{ end }}
</div>
{{ end }}