<ul class="tab">
    {{#for(page of pages)}}
      <li class="tab-item {{#is(page, activePage)}}active{{/is}}{{#if loading}} loading{{/if}} {{classes}}" on:click="makeActive(page)">
          <a {{#if(page.href)}}href="{{page.href}}"{{/if}}>
              {{page.label}}
          </a>
      </li>
    {{/for}}
</ul>
<content />
