<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>Your SassDoc Theme</title>
        <link rel="stylesheet" href="assets/css/main.css" />

        {{!
         ! Feel free to add more meta or stylesheets. It's up to you.
         }}
    </head>

    <body>

    {{!
     ! You can access any variable you set in your configuration file from the `view` object.
     ! Basically your configuration file is passed to the view as the `view` object.
     }}
    {{ view.test_variable }}

    {{!
     ! To display our items, we need to:
     ! 1. Loop over `_data` types
     ! 2. Loop over items mapped to each type
     }}

    {{! 1. Loop over the types in `data` }}
    {{#each _data }}

      {{! If items to be displayed in type }}
      {{#if this}}
      <section>
          <h2>{{ @key }}</h2>

          {{! 2. Loop over the items in the current type }}
          {{#each this}}

          {{! At this point it is up to you to display whatever you want from your items. }}
          <h3>{{ context.name }}</h3>

          <p>This item belongs to group {{item.group.[0].[0]}}.</p>

          {{/each}}
      </section>
      {{/if}}

    {{/each}}

    {{!
     ! If your theme needs some JavaScript, feel free to create a JS file in `assets/js/` folder
     ! and include it as follow:
     !
        <script src="assets/js/main.js"></script>
     !
     }}

    </body>
</html>
