dotfiles/tut/.config/tut/user.tmpl
2022-11-29 20:26:28 +05:30

18 lines
724 B
Cheetah

{{- 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 }}