templates/ansi-account.tmpl
author Mikael Berthe <mikael@lilotux.net>
Mon, 01 May 2017 13:06:31 +0200
changeset 52 2ffe0d622db9
parent 23 2ba1ea451669
child 59 ff88978ceb55
permissions -rw-r--r--
Use the color function in the ANSI templates

- Account ID: {{color "red"}}{{.id}}{{color "reset"}}  {{color "magenta"}}@{{.username}}{{color "reset"}}
  UID: {{color "red"}}{{.acct}}{{color "reset"}}
  Display name: {{color "white,,bold"}}{{.display_name}}{{color "reset"}}
  Date: {{.created_at}}
  URL: {{color "cyan"}}{{.url}}{{color "reset"}}
  Statuses: {{.statuses_count}}
  Followers: {{.followers_count}}
  Following: {{.following_count}}
{{- with .note}}{{if ne . "<p></p>"}}
  Note: {{. | fromhtml}}{{end}}{{end}}
{{- if eq .locked true}}
  Locked: true{{end}}