anchor.diff:    p#logoutform.navbar-text.pull-right
       span#welcome Welcome, #{loginName}
       span &nbsp;&middot;&nbsp;
  -    a#logout.navbar-link(href="/logout?dest=#{encodeURIComponent(baseUrl + redirect)}&_csrf=#{csrfToken}") Logout
  +    a#logout.navbar-link(href="#{loginDomain}/logout?dest=#{encodeURIComponent(baseUrl + redirect)}&_csrf=#{csrfToken}") Logout
positive.code:       b.caret
      ul.dropdown-menu
        if loggedIn
          li: a(href="/logout?dest=#{encodeURIComponent(baseUrl + page)}") Logout
          li.divider
          li: a(href="/account/channels") Channels
          li: a(href="/account/profile") Profile
          li: a(href="/account/edit") Change Password/Email
        else
          li: a(href="/login?dest=#{encodeURIComponent(baseUrl + page)}") Login
          li: a(href="/register") Register
  
  mixin navloginlogout(redirect)
    if loggedIn
  
negative.code:   .visible-md
      p#loginform.navbar-text.pull-right
        a#login.navbar-link(href="#{loginDomain}/login?dest=#{encodeURIComponent(baseUrl + redirect)}") Log in
        span &nbsp;&middot;&nbsp;d
        a#register.navbar-link(href="/register") Register
  
  
  