[[ if (logged_in) { ]] [[ if (profile && user._id == profile._id) { ]] Edit Profile [[ } else if (! profile) { ]] View Profile [[ } ]] [[ } else { ]] Sign Up Sign In [[ } ]]