{#each pages as i}
  • {#if currentPage === i} {i} {:else} goto(e, i)} href={url(i)} >{i} {/if}
  • {/each}