{#if isRepost}
{#if repostKinds.includes(event.kind)}
{event.kind === 6 ? 'Reposted content:' : 'Generic reposted content:'}
{@render repostContent(event.content)}
{:else if event.kind === 1 && event.getMatchingTags("q").length > 0}
Quote repost:
{@render quotedContent(event, [], ndk)}
{#if content}
Added comment:
{#if repostKinds.includes(kind)}
{@html content}
{:else}
{@render basicMarkup(content, ndk)}
{/if}
{/if}
{/if}
{:else}
{#if repostKinds.includes(kind)}
{@html content}
{:else}
{@render basicMarkup(content, ndk)}
{/if}
{#if shouldTruncate}
{/if}
{/if}