{#if headings.length}
On this page
{#each headings as { href, name }}
{name}
{/each}
{/if}