{#if citations.length > 0}
{#if citations.length <= 3}
{#each citations as citation, idx} {/each}
{:else}
{#each citations.slice(0, $mobile ? 1 : 2) as citation, idx} {/each}
{citations.length - ($mobile ? 1 : 2)} {$i18n.t('more')}
{#if isCollapsibleOpen} {:else} {/if}
{#each citations.slice($mobile ? 1 : 2) as citation, idx} {/each}
{/if}
{/if}