{#if artist} {#if part === "latest"} {#if latest}
Latest release
openCatalogAlbum(latest.id)} >
Latest · {(latest.record_type ?? "album").toUpperCase()}
{latest.title}
{year(latest)} {#if latest.track_count}
·
{latest.track_count} tracks {/if}
streamCatalogAlbum(latest)}>
Play
saveCatalogAlbum(latest)}>
Save
{/if} {:else}
{#if timeline}
Releases by year
{timeline.last - timeline.first + 1} years · {timeline.total} releases
{#each timeline.cols as c (c.year)}
{String(c.year).slice(2)}
{/each}
{/if} {#if related.length}
Fans also like
{#each related as a (a.id)}
openCatalogArtist(a.id, a)}>
{#if a.picture}
{/if}
{a.name}
Artist
{/each}
{/if} {#if owned.length}
In your library
{#each owned as o (o.album.id)}
openCatalogAlbum(o.album.id)}>
{o.album.title}
{year(o.album)}{o.album.track_count ? ` · ${o.album.track_count} tracks` : ""}
{/each}
{/if} {#if bio || profile?.listeners || profile?.tags?.length}
About
{#if profile?.listeners || profile?.plays}
{#if profile.listeners}
{fmt(profile.listeners)}
listeners
{/if} {#if profile.plays}
{fmt(profile.plays)}
plays
{/if}
{/if} {#if bio}
{bio}
{/if} {#if profile?.tags?.length}
{#each profile.tags as t (t)}
{t}
{/each}
{/if}
{/if}
{/if} {/if}