2024-12-08 19:15:00 -05:00
|
|
|
{{ define "main" }}
|
2025-01-09 16:55:31 -05:00
|
|
|
<div class="row">
|
|
|
|
<div>
|
|
|
|
<div class="person-profile">
|
|
|
|
{{ with .Resources.GetMatch "thumbnail.*" }}
|
|
|
|
{{ $thumbnail := . }}
|
|
|
|
{{ $thumbnailResized := $thumbnail.Fill "600x600" }}
|
|
|
|
<div class="card-header">
|
|
|
|
<img
|
|
|
|
class="img-thumbnail"
|
|
|
|
src="{{ $thumbnailResized.RelPermalink }}"
|
|
|
|
alt="Thumbnail of {{ .Title }}"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
|
|
|
|
<h1>{{ .Title }}</h1>
|
|
|
|
|
|
|
|
<div class="account-list">
|
|
|
|
{{ $isMe := eq .Title "Thomas A. Christensen II" }}
|
|
|
|
{{ range $account, $username := .Params.accounts }}
|
|
|
|
{{ partial "account.html" (dict "account" $account "username" $username "isMe" $isMe) }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div style="padding: 1em;">
|
|
|
|
{{ with .Content }}
|
|
|
|
<h2>Bio</h2>
|
|
|
|
{{ . }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
|
|
|
|
<h2>Latest Activity</h2>
|
|
|
|
|
|
|
|
{{ range .Pages }}
|
|
|
|
{{ partial "itemcard.html" . }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
2024-12-08 19:15:00 -05:00
|
|
|
</div>
|
|
|
|
{{ end }}
|