complete-node-bootcamp
complete-node-bootcamp copied to clipboard
pug to html
How to convert this .pug to .html
if user
a.nav__el.nav__el--logout Log out
a.nav__el(href='/me')
img.nav__user-img(src=/img/users/${user.photo} alt=Photo of ${user.name})
span= user.name.split(' ')[0]
else
a.nav__el(href='/login') Log in
a.nav__el.nav__el--cta(href='#') Sign up