mirror of
https://github.com/pmoreno-rodriguez/grav-theme-future2021.git
synced 2025-06-07 20:08:54 +00:00
Added support to Login Form
This commit is contained in:
parent
58261d6573
commit
4041c9777d
1 changed files with 7 additions and 1 deletions
|
@ -35,11 +35,17 @@
|
|||
</section>
|
||||
{% endif %}
|
||||
{% if config.plugins.login.enabled %}
|
||||
|
||||
<section>
|
||||
{% if not grav.user.authenticated %}
|
||||
<ul class="actions stacked">
|
||||
<li><a href="#" class="button large fit">{{ 'FUTURE.LOGIN'|t }}</a></li>
|
||||
<li><a href="{{ base_url_absolute }}/login" class="button large fit">{{ 'FUTURE.LOGIN'|t }}</a></li>
|
||||
</ul>
|
||||
{% else %}
|
||||
{% include 'partials/login-status.html.twig' %}
|
||||
{% endif %}
|
||||
</section>
|
||||
|
||||
{% endif %}
|
||||
</section>
|
||||
<script>
|
||||
|
|
Loading…
Add table
Reference in a new issue