From 78e5ec739cc861360881e1f99643efb990189455 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Mon, 23 Oct 2023 17:33:25 -0300 Subject: [PATCH] fix details template included from profile. --- templates/details.html | 2 ++ templates/profile.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/details.html b/templates/details.html index 24cfb09..7222e28 100644 --- a/templates/details.html +++ b/templates/details.html @@ -25,10 +25,12 @@ {{ end }} +{{ if not (eq "" .Nevent) }}
Address Code
{{.Nevent}}
+{{ end }}
Event JSON
diff --git a/templates/profile.html b/templates/profile.html index b0255bc..be63e5b 100644 --- a/templates/profile.html +++ b/templates/profile.html @@ -95,7 +95,7 @@ - {{template "details" .}} + {{template "details" .DetailsPartial}}
Last update: