diff --git a/src/templates/welcome.pug b/src/templates/welcome.pug index 8e79ac9..fa50635 100644 --- a/src/templates/welcome.pug +++ b/src/templates/welcome.pug @@ -25,12 +25,13 @@ li | {% block navigation_user %} li.nav-item-sign-in + | {% if current_user.is_anonymous %} a.navbar-item(href="{{ url_for('users.login', next='/') }}") - | {% if current_user.is_anonymous %} | Log in and Explore - | {% else %} + | {% else %} + a.navbar-item(href="{{ url_for('main.homepage') }}") | Explore - | {% endif %} + | {% endif %} | {% endblock navigation_user %}