{#each sections as section}
  • {section.metadata.title} {#if section.slug === active_section}
    {/if}
    {#each section.subsections as subsection} {subsection.title} {#if subsection.slug === active_section}
    {/if}
    {/each}
  • {/each}