nav.navbar.navbar-default
    .container-fluid
        .navbar-header
            button.navbar-toggle.collapsed(type='button', data-toggle='collapse', data-target='#bs-example-navbar-collapse-1')
                span.sr-only Toggle navigation
            span.icon-bar
            span.icon-bar
            span.icon-bar
            a.navbar-brand(href='/') techtalks.io
        #bs-example-navbar-collapse-1.collapse.navbar-collapse
            ul.nav.navbar-nav
                li.active
                    a(href='/') Home
                    span.sr-only (current)
                li
                    a(href='/') Collections
            ul.nav.navbar-nav.navbar-right
                li.dropdown
                    a.dropdown-toggle(href='#', data-toggle='dropdown', role='button', aria-expanded='false') ...
                        span.caret
                    ul.dropdown-menu(role='menu')
                        li
                            a(href='/about') About
                        li
                            a(href='/faq') FAQ
                if user
                    li
                        a(href='#', data-toggle='dropdown', role='button', aria-expanded='false')
                            span @
                            span= user.screen_name
                            span.caret
                        ul.dropdown-menu(role='menu')
                            li
                                a(href='/profile') Profile
                            li
                                a(href='/settings') Settings
                            li
                                a(href='/logout') Logout
                else
                    li
                        a(href='/login') Login
                li
                    a(href='/add')
                        i.fa.fa-bolt


nav.navbar.navbar-default
    .container-fluid
        .navbar-header
            button.navbar-toggle.collapsed(type='button', data-toggle='collapse', data-target='#bs-example-navbar-collapse-1')
                span.sr-only Toggle navigation
            span.icon-bar
            span.icon-bar
            span.icon-bar
            a.navbar-brand(href='/') techtalks.io
        #bs-example-navbar-collapse-1.collapse.navbar-collapse
            ul.nav.navbar-nav
                li.active
                    a(href='/') Home
                    span.sr-only (current)
                li
                    a(href='/') Collections
            ul.nav.navbar-nav.navbar-right
                li.dropdown
                    a.dropdown-toggle(href='#', data-toggle='dropdown', role='button', aria-expanded='false') ...
                        span.caret
                    ul.dropdown-menu(role='menu')
                        li
                            a(href='/about') About
                        li
                            a(href='/faq') FAQ
                if user
                    li
                        a(href='#', data-toggle='dropdown', role='button', aria-expanded='false')
                            span @
                            span= user.screen_name
                            span.caret
                        ul.dropdown-menu(role='menu')
                            li
                                a(href='/profile') Profile
                            li
                                a(href='/settings') Settings
                            li
                                a(href='/logout') Logout
                else
                    li
                        a(href='/login') Login
                if user
                    li
                        a(href='/add')
                            i.fa.fa-bolt


Hide add if user is not authenticated
Hide add if user is not authenticated
