print original name in handle format

This commit is contained in:
Ted Unangst 2019-07-05 13:07:59 -04:00
parent 5d0fb4d41c
commit 0b1f182a94
3 changed files with 5 additions and 1 deletions

3
fun.go
View File

@ -49,6 +49,9 @@ func reverbolate(honks []*Honk) {
h.URL = h.XID h.URL = h.XID
} }
} }
if h.Oonker != "" {
_, h.Oondle = honkerhandle(h.Oonker)
}
zap := make(map[*Donk]bool) zap := make(map[*Donk]bool)
h.Noise = unpucker(h.Noise) h.Noise = unpucker(h.Noise)
precis := h.Precis precis := h.Precis

View File

@ -59,6 +59,7 @@ type Honk struct {
Honker string Honker string
Handle string Handle string
Oonker string Oonker string
Oondle string
XID string XID string
RID string RID string
Date time.Time Date time.Time

View File

@ -10,7 +10,7 @@
{{ if .Oonker }} {{ if .Oonker }}
<br> <br>
<span style="margin-left: 1em;" class="clip"> <span style="margin-left: 1em;" class="clip">
original: {{ .Oonker }} original: {{ .Oondle }}
</span> </span>
{{ else }} {{ else }}
{{ if .RID }} {{ if .RID }}