templates/ansi-account.tmpl
author Mikael Berthe <mikael@lilotux.net>
Fri, 28 Apr 2017 17:07:13 +0200
changeset 23 2ba1ea451669
child 52 2ffe0d622db9
permissions -rw-r--r--
Add template samples

- Account ID: {{"\x1b[31m"}}{{.id}}{{"\x1b[0m"}}  {{"\x1b[35m"}}@{{.username}}{{"\x1b[0m"}}
  UID: {{"\x1b[31m"}}{{.acct}}{{"\x1b[0m"}}
  Display name: {{"\x1b[1m"}}{{.display_name}}{{"\x1b[0m"}}
  Date: {{.created_at}}
  URL: {{"\x1b[36m"}}{{.url}}{{"\x1b[0m"}}
  Statuses: {{.statuses_count}}
  Followers: {{.followers_count}}
  Following: {{.following_count}}
{{- with .note}}
  Note: {{. | fromhtml}}{{end}}
{{- if eq .locked true}}
  Locked: true{{end}}