2022-04-15 14:33:01 +02:00
|
|
|
{{ template "header.tmpl" .}}
|
|
|
|
<main>
|
|
|
|
<div class="profile">
|
2022-06-21 10:48:42 +02:00
|
|
|
<div class="headerimage">
|
|
|
|
{{ if .account.Header }}
|
|
|
|
<img
|
|
|
|
src="{{.account.Header}}"
|
|
|
|
alt="{{if .account.DisplayName}}{{.account.DisplayName}}{{else}}{{.account.Username}}{{end}}'s header"
|
|
|
|
/>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
2022-04-15 14:33:01 +02:00
|
|
|
<div class="basic">
|
2022-07-04 16:23:59 +02:00
|
|
|
<div id="profile-basic-filler2"></div>
|
2022-06-21 10:48:42 +02:00
|
|
|
<a href="{{.account.Avatar}}" class="avatar"><img src="{{.account.Avatar}}" alt="{{if .account.DisplayName}}{{.account.DisplayName}}{{else}}{{.account.Username}}{{end}}'s avatar"></a>
|
2022-07-04 16:23:59 +02:00
|
|
|
<div class="displayname">{{if .account.DisplayName}}{{.account.DisplayName}}{{else}}{{.account.Username}}{{end}}</div>
|
|
|
|
<div class="username">@{{.account.Username}}@{{.instance.Title}}</div>
|
2022-04-15 14:33:01 +02:00
|
|
|
</div>
|
|
|
|
<div class="detailed">
|
|
|
|
<div class="bio">
|
|
|
|
{{ if .account.Note }}{{ .account.Note | noescape }}{{else}}This GoToSocial user hasn't written a bio yet!{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-06-21 10:48:42 +02:00
|
|
|
<div class="accountstats">
|
|
|
|
<div class="entry">Joined <b>{{.account.CreatedAt | timestampShort}}</b></div>
|
|
|
|
<div class="entry">Followed by <b>{{.account.FollowersCount}}</b></div>
|
|
|
|
<div class="entry">Following <b>{{.account.FollowingCount}}</b></div>
|
|
|
|
<div class="entry">Posted <b>{{.account.StatusesCount}}</b></div>
|
|
|
|
</div>
|
2022-04-15 14:33:01 +02:00
|
|
|
</div>
|
2022-06-21 10:48:42 +02:00
|
|
|
<h2 id="recent">Recent public toots</h2>
|
2022-04-15 14:33:01 +02:00
|
|
|
<div class="thread">
|
|
|
|
{{range .statuses}}
|
|
|
|
<div class="toot expanded">
|
|
|
|
{{ template "status.tmpl" .}}
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</main>
|
2022-05-28 13:19:24 +02:00
|
|
|
{{ template "footer.tmpl" .}}
|