mirror of
https://github.com/pmoreno-rodriguez/grav-theme-future2021.git
synced 2025-06-07 20:08:54 +00:00
Updated route to login page
This commit is contained in:
parent
04031267c8
commit
49d9cd176a
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@
|
|||
<section>
|
||||
<ul class="actions stacked">
|
||||
{% if not grav.user.authenticated %}
|
||||
<li><a href="{{ base_url_absolute }}/login" class="button large fit">{{ 'PLUGIN_LOGIN.BTN_LOGIN'|t }}</a></li>
|
||||
<li><a href="{{ base_url_absolute }}{{config.plugins.login.route}}" class="button large fit">{{ 'PLUGIN_LOGIN.BTN_LOGIN'|t }}</a></li>
|
||||
{% else %}
|
||||
<li>Logged as: <strong>{{ grav.user.fullname ?: grav.user.username }}</strong></li>
|
||||
<li><a class="button large fit" href="{{ url(uri.addNonce((uri.path)|trim('/') ~ '/task' ~ config.system.param_sep ~ 'login.logout', 'logout-form', 'logout-nonce'))|e }}">{{ 'PLUGIN_LOGIN.BTN_LOGOUT'|t }}</a></li>
|
||||
|
|
Loading…
Add table
Reference in a new issue