.navbar.navbar-default
  .container
    .navbar-header
      button.navbar-toggle(type='button', data-toggle='collapse', data-target='.navbar-collapse')
        span.sr-only Toggle navigation
        span.icon-bar
        span.icon-bar
        span.icon-bar
      a.navbar-brand(href='/')
    .collapse.navbar-collapse
      ul.nav.navbar-nav.navbar-right
        li(class=title=='About'?'active':undefined)
          a(href='/about') About
        if !user
          li(class=title=='Login'?'active':undefined)
            a(href='/login') Login
        else
          li.cartButton
            a(href="#toggleCart" class="toggleCart" id="toggleCart")
              i.fa.fa-shopping-cart
          li.dropdown(class=title=='Account Management'?'active':undefined)
            a.dropdown-toggle(href='#', data-toggle='dropdown')
              | #{ user.email || user.id}&nbsp;
              i.caret
            ul.dropdown-menu
              li: a(href='/account') My Account
              li.divider
              li: a(href='/logout') Logout

.navbar.navbar-default
  .container
    .navbar-header
      button.navbar-toggle(type='button', data-toggle='collapse', data-target='.navbar-collapse')
        span.sr-only Toggle navigation
        span.icon-bar
        span.icon-bar
        span.icon-bar
      a.navbar-brand(href='/')
    .collapse.navbar-collapse
      ul.nav.navbar-nav.navbar-right
        li(class=title=='About'?'active':undefined)
          a(href='/about') About
        if !user
          //li(class=title=='Login'?'active':undefined)
            a(href='/login') Login
        else
          li.cartButton
            a(href="#toggleCart" class="toggleCart" id="toggleCart")
              i.fa.fa-shopping-cart
          li.dropdown(class=title=='Account Management'?'active':undefined)
            a.dropdown-toggle(href='#', data-toggle='dropdown')
              | #{ user.email || user.id}&nbsp;
              i.caret
            ul.dropdown-menu
              li: a(href='/account') My Account
              li.divider
              li: a(href='/logout') Logout

Remove login link for anon users.
Remove login link for anon users.
