{
onClick(e)
}}
on:keydown={(e) => {
// @ts-ignore
if (e.key == 'Enter') onClick(e)
}}
tabindex="0"
style={$$props.style ?? ''}
>
c.community.id)
.includes(post.community.id)
? 'Subscribed'
: 'NotSubscribed'}
id={post.post.id}
title={hideTitle ? undefined : tags?.title ? tags.title : post.post.name}
read={post.read}
style="grid-area: meta;"
edited={post.post.updated}
tags={tags?.tags}
{view}
>
{#key post.post.url}
{#if rule != 'hide'}
{/if}
{#if view == 'list' || view == 'compact'}
{/if}
{/key}
{#if post.post.body && !post.post.nsfw && view != 'compact' && !hideBody && rule != 'hide'}
{/if}
{#if actions}
{:else if view == 'compact'}
{post.counts.score}
{post.counts.comments}
{/if}