12345678910111213141516171819 |
- {% if signedin() %}
- {% set user = user() %}
-
- <p>
- You are logged in as <strong>{{ user['username'] }}</strong>.
- </p>
- <p>
- <a href="{{ url('index') }}">Homepage</a>
- <a href="{{ url('signout') }}">Sign out</a>
- </p>
- {% else %}
-
- <p>
- Public profile of <strong>{{ user['username'] }}</strong>
- </p>
-
- {% endif %}
|