/
user.tmpl
18 lines (16 loc) · 724 Bytes
/
user.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{{- if .User.Bot -}}
{{ Color .Style.Subtle }}The user is a bot
{{ end -}}
{{- if ne .User.DisplayName "" -}}
{{- Color .Style.TextSpecial2 }}{{ .User.DisplayName }}
{{ Color .Style.TextSpecial1 }}{{ .User.Account }}
{{- else -}}
{{ Color .Style.TextSpecial2 }}{{- .User.Account }}
{{ end }}
{{ Color .Style.Text }}Toots {{ Color .Style.TextSpecial2 }}{{ .User.StatusCount -}}
{{- Color .Style.Text }} Followers {{ Color .Style.TextSpecial2 }}{{ .User.FollowersCount -}}
{{- Color .Style.Text }} Following {{ Color .Style.TextSpecial2 }}{{ .User.FollowingCount }}
{{ Color .Style.Text }}{{ .User.Note }}
{{ range .User.Fields }}
{{ Color $.Style.TextSpecial2 }}{{ .Name }}:{{ Color $.Style.Text }} {{ .Value -}}
{{ end }}