2022-04-15 12:33:01 +00:00
|
|
|
{{ template "header.tmpl" .}}
|
|
|
|
<main>
|
|
|
|
<div class="profile">
|
2022-06-21 08:48:42 +00: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 12:33:01 +00:00
|
|
|
<div class="basic">
|
2022-07-04 14:23:59 +00:00
|
|
|
<div id="profile-basic-filler2"></div>
|
2022-06-21 08:48:42 +00: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 14:23:59 +00:00
|
|
|
<div class="displayname">{{if .account.DisplayName}}{{.account.DisplayName}}{{else}}{{.account.Username}}{{end}}</div>
|
2022-07-05 12:03:44 +00:00
|
|
|
<div class="username">@{{.account.Username}}@{{.instance.AccountDomain}}</div>
|
2022-04-15 12:33:01 +00: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 08:48:42 +00: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 12:33:01 +00:00
|
|
|
</div>
|
2022-07-13 07:57:47 +00:00
|
|
|
<h2 id="recent">Latest public toots</h2>
|
|
|
|
{{ if not .statuses }}
|
|
|
|
<div class="nothinghere">Nothing here!</div>
|
|
|
|
{{ else }}
|
|
|
|
<div class="thread">
|
|
|
|
{{ range .statuses }}
|
|
|
|
<div class="toot expanded">
|
|
|
|
{{ template "status.tmpl" .}}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
<div class="backnextlinks">
|
|
|
|
{{ if .show_back_to_top }}
|
|
|
|
<a href="/@{{ .account.Username }}">Back to top</a>
|
|
|
|
{{ end }}
|
|
|
|
{{ if .statuses_next }}
|
|
|
|
<a href="{{ .statuses_next }}" class="next">Show older</a>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
2022-04-15 12:33:01 +00:00
|
|
|
</main>
|
2022-05-28 11:19:24 +00:00
|
|
|
{{ template "footer.tmpl" .}}
|