diff options
Diffstat (limited to 'src/components/Event.svelte')
| -rw-r--r-- | src/components/Event.svelte | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/Event.svelte b/src/components/Event.svelte index 7a9c75d4..9d25e26e 100644 --- a/src/components/Event.svelte +++ b/src/components/Event.svelte @@ -70,6 +70,8 @@ {value} {:else if type === "link"} <Media {value} {minimal} /> + {:else if type === "topic"} + <a href={`/tag/${encodeURIComponent(value)}`} class="font-bold text-accent">#{value}</a> {:else if type.match(/^nostr:np(rofile|ub)$/)} <a href={`/${value.pubkey}`} class="font-bold">@{names[value.pubkey]}</a> {/if} |
