From 3924d69fcede488561097529cb6d02bd16752bcc Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Mon, 17 Feb 2025 10:39:29 -0300 Subject: [PATCH] only display the "/" if there is a display_name. --- common.templ | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common.templ b/common.templ index 2ffbae1..5a37f20 100644 --- a/common.templ +++ b/common.templ @@ -53,8 +53,8 @@ templ authorHeaderTemplate(metadata sdk.ProfileMetadata) {
{ metadata.Name } - if metadata.Name != metadata.DisplayName { - / { metadata.DisplayName } + if metadata.DisplayName != "" && metadata.Name != metadata.DisplayName { + / { metadata.DisplayName } }