<nav class="page-nav nav">
  <h1 class="nav__title">
    {{#if isCompany}}
    <a href=".">{{presskit.title}}</a>
    {{else}}
    <a href="..">{{company.title}}</a>
    {{/if}}
  </h1>

  <aside class="nav__subtitle">
    {{#if isProduct}}
    <a href="..">press kit</a>
    {{else}}
    <a href="{{presskit.website}}">{{prettyURL presskit.website}}</a>
    {{/if}}
  </aside>

  <ul class="nav__list">
    <li>
      <a class="nav__item" href="#factsheet">Factsheet</a>
    </li>

    {{#if presskit.description}}
    <li>
      <a class="nav__item" href="#description">Description</a>
    </li>
    {{/if}}

    {{#if products}}
    <li>
      <a class="nav__item" href="#projects">Projects</a>
    </li>
    {{/if}}

    {{#if presskit.widgets.mailchimp}}
    <li>
      <a class="nav__item" href="#mailing-list">Mailing List</a>
    </li>
    {{/if}}

    {{#if presskit.trailers}}
    <li>
      <a class="nav__item" href="#videos">Videos</a>
    </li>
    {{/if}}

    {{#if images.screenshots}}
    <li>
      <a class="nav__item" href="#images">Images</a>
    </li>
    {{/if}}

    {{#if images.logos}}
    <li>
      <a class="nav__item" href="#logo">Logo & Icon</a>
    </li>
    {{/if}}

    {{#if presskit.widgets}}
    <li>
      <a class="nav__item" href="#widgets">Widgets</a>
    </li>
    {{/if}}

    {{#if presskit.awards}}
    <li>
      <a class="nav__item" href="#awards">Awards & Recognition</a>
    </li>
    {{/if}}

    {{#if presskit.quotes}}
    <li>
      <a class="nav__item" href="#articles">Selected Articles</a>
    </li>
    {{/if}}

    {{#if presskit.additionals}}
    <li>
      <a class="nav__item" href="#links">Additional Links</a>
    </li>
    {{/if}}

    {{#if isProduct}}
    <li>
      <a class="nav__item" href="#about">About {{company.title}}</a>
    </li>
    {{/if}}

    {{#each presskit.abouts}}
    <li>
      <a class="nav__item" href="#about_{{title}}">About {{title}}</a>
    </li>
    {{/each}}

    <li>
      <a class="nav__item" href="#credits">Team</a>
    </li>

    {{#if presskit.contacts}}
    <li>
      <a class="nav__item" href="#contact">Contact</a>
    </li>
    {{/if}}
  </ul>
</nav>
