Update types to reflect Mastodon 2.0.0 API changes
This patch requires madon v2.0.0(-dev).
(Fixes issue #9)
- 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 | tolocal}}
URL: {{color "cyan"}}{{.url}}{{color "reset"}}
Statuses: {{.statuses_count}}
Followers: {{.followers_count}}
Following: {{.following_count}}
{{- with .note}}{{if ne . "<p></p>"}}
Note: {{color "yellow"}}{{. | fromhtml | wrap " " 79 | trim}}{{color "reset"}}{{end}}{{end}}
{{- if eq .locked true}}
Locked: true{{end}}