Mangalord | {author.name}

{author.name}

{author.manga_count} {author.manga_count === 1 ? 'work' : 'works'}

{#await data.mangas} {:then result} {@const mangas = result.items} {@const total = result.total} {@const totalPages = total != null && total > 0 ? Math.ceil(total / pageSize) : 1} {@const rangeStart = mangas.length === 0 ? 0 : (currentPage - 1) * pageSize + 1} {@const rangeEnd = (currentPage - 1) * pageSize + mangas.length} {#if mangas.length === 0}

No mangas attributed to this author.

{:else} {#if total != null}

Showing {rangeStart}–{rangeEnd} of {total}

{/if} {/if} {:catch} {/await}