{#each pages as { title, id }}
{#if id === $params.page}
{/if}
changePage(id)}> {title}
{/each}