{#each shelfCounts as shelf (shelf.label)}
{shelf.label}
:
{shelf.count}
{/each} {#each rows as [label, value] (label)}
{label}
: {value}
{/each} {#if shownCounts.length}
{#each shownCounts as shelf (shelf.label)}
{/each}
{/if}
{#if reading.length}
{#each reading as book (book.goodreadsId)}
{#if book.cover}
{:else}
{/if}
{book.title}
{book.authors.join(', ')}
{[book.pages ? `${book.pages} pages` : '', book.published?.slice(0, 4) ?? ''].filter(Boolean).join(' ยท ')}
{/each}
{/if}
{#if read.length}
{/if} {#if wantToRead.length}
{/if}