mirror of
https://github.com/pmoreno-rodriguez/grav-theme-future2021.git
synced 2025-06-29 06:38: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>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if config.plugins.login.enabled %}
|
{% if config.plugins.login.enabled %}
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
|
{% if not grav.user.authenticated %}
|
||||||
<ul class="actions stacked">
|
<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>
|
</ul>
|
||||||
|
{% else %}
|
||||||
|
{% include 'partials/login-status.html.twig' %}
|
||||||
|
{% endif %}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</section>
|
</section>
|
||||||
<script>
|
<script>
|
||||||
|
|
Loading…
Add table
Reference in a new issue