@if(session)
<!-- logged in -->
<nav class="navbar navbar-expand-lg">
  <a class="navbar-brand" href="/"><span class="f0ck" width="" height="">w0bm.com</span></a>
  <div class="navigation-links-guest">
    <ol>
      <a href="/tags">tags</a>
      <a href="/about">about</a>
      @if(!/^\/\d$/.test(url.pathname))
      <a href="/random" id="nav-random">rand</a>
      @endif
    </ol>
  </div>
  <!-- show pagination only for tags and main page -->
  @if(!/^\/\d+$/.test(url.pathname))
  <div class="collapse navbar-collapse show" id="navbarSupportedContent">
    <div class="pagination-container-fluid">
      <div class="pagination-wrapper">
        @include(snippets/pagination)
      </div>
    </div>
  </div>
  @endif
</nav>
@else
<!-- not logged in -->
<nav class="navbar navbar-expand-lg">
  <a class="navbar-brand" href="/"><span class="f0ck" width="" height="">w0bm.com</span></a>
  <div class="navigation-links-guest">
    <ol>
      <a href="/tags">tags</a>
      <a href="/about">about</a>
      @if(!/^\/\d$/.test(url.pathname))
      <a href="/random" id="nav-random">rand</a>
      @endif
    </ol>
  </div>
  <!-- show pagination only for tags and main page -->
  @if(!/^\/\d+$/.test(url.pathname))
  <div class="collapse navbar-collapse show" id="navbarSupportedContent">
    <div class="pagination-container-fluid">
      <div class="pagination-wrapper">
        @include(snippets/pagination)
      </div>
    </div>
  </div>
  @endif
</nav>

@endif