From 156a4029a287e0ef5daf9c4a6554711e380a6557 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Sun, 2 Jun 2019 23:57:36 -0400 Subject: [PATCH] condense information --- fun.go | 2 +- views/honk.html | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fun.go b/fun.go index 7cfa67e..5d2c7cf 100644 --- a/fun.go +++ b/fun.go @@ -318,7 +318,7 @@ func originate(u string) string { func honkerhandle(h string) string { m := re_unurl.FindStringSubmatch(h) if len(m) > 2 { - return fmt.Sprintf("%s@%s", m[2], m[1]) + return m[2] } return h } diff --git a/views/honk.html b/views/honk.html index c271489..20fdaef 100644 --- a/views/honk.html +++ b/views/honk.html @@ -2,22 +2,22 @@ {{ with .Honk }}
avatar -

{{ .Username }} {{ .What }} {{ .Date.Format "02 Jan 2006 15:04" }} {{ .URL }} +

{{ .Username }} {{ .What }} {{ .Date.Format "02 Jan 2006 15:04" }} {{ if .Oonker }}
- + original: {{ .Oonker }} {{ else }} {{ if .RID }}
- + in reply to: {{ .RID }} {{ end }} {{ end }}
- + convoy: {{ .Convoy }}