moving some code around to show a "(reply)" on opengraph subscripts.

This commit is contained in:
fiatjaf
2024-01-08 16:39:03 -03:00
parent 87c2f25646
commit f1472b90a6
6 changed files with 87 additions and 84 deletions

View File

@@ -71,7 +71,7 @@ func renderProfile(w http.ResponseWriter, r *http.Request, code string) {
CreatedAt: data.createdAt,
KindDescription: data.kindDescription,
KindNIP: data.kindNIP,
EventJSON: eventToHTML(data.event),
EventJSON: data.event.ToJSONHTML(),
Kind: data.event.Kind,
Metadata: data.metadata,
},