diff options
Diffstat (limited to 'main/app/sprinkles/account/templates/navigation/main-nav.html.twig')
-rw-r--r-- | main/app/sprinkles/account/templates/navigation/main-nav.html.twig | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/main/app/sprinkles/account/templates/navigation/main-nav.html.twig b/main/app/sprinkles/account/templates/navigation/main-nav.html.twig index dfe2fc8..ce18b3a 100644 --- a/main/app/sprinkles/account/templates/navigation/main-nav.html.twig +++ b/main/app/sprinkles/account/templates/navigation/main-nav.html.twig @@ -1,13 +1,13 @@ -{# This extend the same file from core to add a sign-up/sign-in or "my account" link to the "home page" nav menu. #} -{% extends "@core/navigation/main-nav.html.twig" %} - -{% block secondary_nav %} - {{ parent() }} - {% if not checkAuthenticated() %} - <li> - <a href="{{ site.uri.public }}/account/sign-in" class="nav-highlight">{{ translate("SIGNIN") }}</a> - </li> - {% else %} - {% include "navigation/user-card.html.twig" %} - {% endif %} -{% endblock %} +{# This extend the same file from core to add a sign-up/sign-in or "my account" link to the "home page" nav menu. #}
+{% extends "@core/navigation/main-nav.html.twig" %}
+
+{% block secondary_nav %}
+ {{ parent() }}
+ {% if not checkAuthenticated() %}
+ <li>
+ <a href="{{ site.uri.public }}/account/sign-in" class="nav-highlight">{{ translate("SIGNIN") }}</a>
+ </li>
+ {% else %}
+ {% include "navigation/user-card.html.twig" %}
+ {% endif %}
+{% endblock %}
|