From 71d086e4508f276e4d2c62ebe524e2ae0d9d7203 Mon Sep 17 00:00:00 2001 From: Daniele Tonon Date: Mon, 11 Dec 2023 17:20:22 +0100 Subject: [PATCH] Fix the layout of the profile template --- templates/profile.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/templates/profile.html b/templates/profile.html index 2c8285b..3cb6658 100644 --- a/templates/profile.html +++ b/templates/profile.html @@ -78,13 +78,11 @@ {{end}} -
- {{ if or (not (eq "" .Metadata.Website)) (not (eq "" - .RenderedAuthorAboutText)) }} -
+
+ {{ if not (eq "" .Metadata.Website) }}
{{.Metadata.Website}}
+ {{ end }} {{ if not (eq "" .RenderedAuthorAboutText) }}
{{.RenderedAuthorAboutText}}
- {{ end }} + {{ end }} {{ if or (not (eq "" .Metadata.Website)) (not (eq "" + .RenderedAuthorAboutText)) }}
+ {{ end }}
Public Key
{{.Npub}}