templates/ansi-status.tmpl
changeset 23 2ba1ea451669
child 52 2ffe0d622db9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/ansi-status.tmpl	Fri Apr 28 17:07:13 2017 +0200
@@ -0,0 +1,17 @@
+- Status ID: {{"\x1b[31m"}}{{.id}}{{"\x1b[0m"}}  {{"\x1b[35m"}}@{{.account.acct}}{{"\x1b[0m"}}
+  Name: {{"\x1b[1m"}}{{.account.display_name}}{{"\x1b[0m"}}
+  Date: {{.created_at}}
+  URL: {{.url}}
+{{- if gt .in_reply_to_id 0.0}}
+  Replying to: {{.in_reply_to_id}}{{end}}
+{{- with .spoiler_text}}
+  Spoiler: {{.}}{{end}}
+{{- if .reblog }}{{with .reblog}}
+  {{"\x1b[1m"}}Reblogged from: {{"\x1b[34;1m"}}@{{.account.acct}}{{"\x1b[0m"}}
+    ID: {{.id}}
+    Name: {{"\x1b[1m"}}{{.account.display_name}}{{"\x1b[0m"}}
+    Date: {{.created_at}}
+    Message: {{"\x1b[34m"}}{{.content | fromhtml}}{{"\x1b[0m"}}
+{{end}}{{else}}
+  Message: {{"\x1b[34m"}}{{.content | fromhtml}}{{"\x1b[0m"}}
+{{end -}}