{% if page.url == '/' %}{% assign homepage = true %}{% endif %}

<div class="{% unless homepage %}border-bottom{% endunless %}">
  <div class="container-lg px-3">
    <div class="py-4 d-flex flex-justify-between">
      <h1 class="alt-h4 lh-default">
        {% unless homepage %}
        <a href="/" class="no-underline text-uppercase text-brand-blue-dark d-flex flex-items-center">
          <img class="mr-2 mt-n2" src="/assets/probot-head.png" width="36" height="36" alt="">
          <span class="hide-sm">Probot</span>
        </a>
        {% endunless %}
      </h1>
      <nav class="text-bold text-right">
        <a class="text-inherit px-2 d-inline-block" href="/apps/">Apps</a>
        <a class="text-inherit px-2 d-inline-block" href="/docs/">Docs</a>
        <a class="text-inherit px-2 d-inline-block" href="/community/">Community</a>
      </nav>
    </div>
  </div>
</div>
