all repos — honk @ 19d2f9ff85fdfff0e462a4bf3e61a781dde9c92f

my fork of honk

condense information
Ted Unangst tedu@tedunangst.com
Sun, 02 Jun 2019 23:57:36 -0400
commit

19d2f9ff85fdfff0e462a4bf3e61a781dde9c92f

parent

8935c6ad3c41d3cb4e9910ebe71aab076075ebaa

2 files changed, 5 insertions(+), 5 deletions(-)

jump to
M fun.gofun.go

@@ -318,7 +318,7 @@

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 }
M views/honk.htmlviews/honk.html

@@ -2,22 +2,22 @@ <article class="honk {{ .Honk.What }} {{ and (not .Honk.Public) "limited" }}" data-convoy="{{ .Honk.Convoy }}">

{{ with .Honk }} <header> <img alt="avatar" src="/a?a={{ .Honker}}"> -<p><a href="{{ .Honker }}" rel=noreferrer>{{ .Username }}</a> <span class="clip">{{ .What }} {{ .Date.Format "02 Jan 2006 15:04" }} <a href="{{ .URL }}" rel=noreferrer>{{ .URL }}</a></span> +<p><a href="{{ .Honker }}" rel=noreferrer>{{ .Username }}</a> <span class="clip"><a href="{{ .URL }}" rel=noreferrer>{{ .What }}</a> {{ .Date.Format "02 Jan 2006 15:04" }}</span> {{ if .Oonker }} <br> -<span style="margin-left: 3em;" class="clip"> +<span style="margin-left: 1em;" class="clip"> original: {{ .Oonker }} </span> {{ else }} {{ if .RID }} <br> -<span style="margin-left: 3em;" class="clip"> +<span style="margin-left: 1em;" class="clip"> in reply to: <a href="{{ .RID }}" rel=noreferrer>{{ .RID }}</a> </span> {{ end }} {{ end }} <br> -<span style="margin-left: 3em;" class="clip"> +<span style="margin-left: 1em;" class="clip"> convoy: <a href="/t?c={{ .Convoy }}">{{ .Convoy }}</a> </span> </header>