2022-04-15 15:33:01 +03:00
|
|
|
{{ template "header.tmpl" .}}
|
|
|
|
<main>
|
|
|
|
<div class="profile">
|
2022-06-21 11:48:42 +03: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 15:33:01 +03:00
|
|
|
<div class="basic">
|
2022-06-21 11:48:42 +03: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-04-15 15:33:01 +03:00
|
|
|
<a href="{{.account.URL}}" class="displayname">{{if .account.DisplayName}}{{.account.DisplayName}}{{else}}{{.account.Username}}{{end}}</a>
|
|
|
|
<a href="{{.account.URL}}" class="username">@{{.account.Username}}</a>
|
|
|
|
</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 11:48:42 +03: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 15:33:01 +03:00
|
|
|
</div>
|
2022-06-21 11:48:42 +03:00
|
|
|
<h2 id="recent">Recent public toots</h2>
|
2022-04-15 15:33:01 +03:00
|
|
|
<div class="thread">
|
|
|
|
{{range .statuses}}
|
|
|
|
<div class="toot expanded">
|
|
|
|
{{ template "status.tmpl" .}}
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</main>
|
2022-05-28 14:19:24 +03:00
|
|
|
{{ template "footer.tmpl" .}}
|