From 1eb7a0ca95b84a00a10fef0b91f0138dc2cc7e08 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Wed, 15 Nov 2023 14:21:54 -0300 Subject: [PATCH] link to author profile in telegram instant view. --- templates/telegram_instant_view.html | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/templates/telegram_instant_view.html b/templates/telegram_instant_view.html index 727ec77..b73ecb2 100644 --- a/templates/telegram_instant_view.html +++ b/templates/telegram_instant_view.html @@ -29,15 +29,22 @@

{{ if not (eq "" .Subject) }} {{.Subject}} {{ else }} - {{.Metadata.ShortName}} on Nostr: {{ end }} + {{.Metadata.ShortName}} on Nostr: {{ end + }}

{{ if not (eq "" .ParentLink) }} -

in reply to {{ .ParentLink }}

- {{ else if not (eq "" .Summary) }} -

{{ .Summary }}

+ + {{ end }} + + {{ if not (eq "" .Summary) }} + {{ end }} - {{.Content}} + {{.Content}} {{ if not (eq "" .Subject) }} + + {{ end }}