{#if children}{@render children({ vote, score })}{:else} {@const voteRatio = Math.floor( ((upvotes ?? 0) / ((upvotes ?? 0) + (downvotes ?? 0))) * 100, )}
{#if site.data?.site_view.local_site.enable_downvotes ?? true} {/if}
{/if}