mirror of
https://github.com/aljazceru/njump.git
synced 2026-02-01 04:04:41 +01:00
stop displaying nip-57 address.
fixes https://github.com/fiatjaf/njump/issues/91
This commit is contained in:
@@ -60,12 +60,6 @@ templ embeddedProfileTemplate(params ProfilePageParams) {
|
||||
{ params.Metadata.NIP05 }
|
||||
}
|
||||
</div>
|
||||
<div class="mb-6 leading-5">
|
||||
if params.Metadata.LUD16 != "" {
|
||||
<div class="text-sm text-strongpink">NIP-57 Address</div>
|
||||
{ params.Metadata.LUD16 }
|
||||
}
|
||||
</div>
|
||||
if len(params.AuthorRelays) > 0 {
|
||||
<div class="mb-6 leading-5">
|
||||
<div class="text-sm text-strongpink">Publishing to</div>
|
||||
@@ -77,7 +71,6 @@ templ embeddedProfileTemplate(params ProfilePageParams) {
|
||||
</div>
|
||||
<div class="-ml-4 mb-6 h-1.5 w-1/3 bg-zinc-100 dark:bg-zinc-700 sm:-ml-2.5"></div>
|
||||
</div>
|
||||
|
||||
<div class="text-sm leading-3 text-neutral-400">
|
||||
This note has been published on Nostr and is embedded via Njump,
|
||||
<a href="/" target="_new" class="underline">learn more</a>
|
||||
|
||||
@@ -150,12 +150,6 @@ templ profileTemplate(params ProfilePageParams) {
|
||||
</a>
|
||||
</div>
|
||||
}
|
||||
<div class="mb-6 leading-5">
|
||||
if params.Metadata.LUD16 != "" {
|
||||
<div class="text-sm text-strongpink">NIP-57 Address</div>
|
||||
{ params.Metadata.LUD16 }
|
||||
}
|
||||
</div>
|
||||
<div class="mb-6 leading-5">
|
||||
<div class="text-sm text-strongpink">Profile Code</div>
|
||||
{ params.Nprofile }
|
||||
|
||||
Reference in New Issue
Block a user