<aside class="side-navigation" data-sticky="100">
  <nav>
    <ul class="side-nav">
      {{#each page.sections}}
        <li class="heading">{{title}}</li>
        {{#each items}}
          {{#is type 'sub-section'}}
            <li><a href="#{{#if id}}{{id}}{{else}}{{slugify data.title}}{{/if}}">{{data.title}}</a></li>
          {{/is}}

          {{#is type 'live-example'}}
            <li><a href="#{{#if id}}{{id}}{{else}}{{slugify data.title}}{{/if}}">{{data.title}}</a></li>
          {{/is}}
        {{/each}}
      {{/each}}
    </ul>
  </nav>
</aside>