mirror of
https://github.com/pmoreno-rodriguez/grav-theme-future2021.git
synced 2025-07-20 08:58:55 +00:00
Show footer if sidebar is disabled
This commit is contained in:
parent
018bb4c1b6
commit
4101523496
2 changed files with 12 additions and 0 deletions
|
@ -52,6 +52,12 @@
|
|||
{% if show_pagination and config.plugins.pagination.enabled and collection.params.pagination %}
|
||||
{% include 'partials/pagination.html.twig' with {base_url: page.url, pagination: collection.params.pagination} %}
|
||||
{% endif %}
|
||||
|
||||
{% if theme_config.sidebar == false %}
|
||||
<section id="footer" class="align-center">
|
||||
{% include 'partials/footer.html.twig' %}
|
||||
</section>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block sidebar %}
|
||||
|
|
|
@ -32,6 +32,12 @@
|
|||
{% include 'partials/simplesearch_item.html.twig' with {'page':page} %}
|
||||
{% endfor %}
|
||||
</article>
|
||||
|
||||
{% if theme_config.sidebar == false %}
|
||||
<section id="footer" class="align-center">
|
||||
{% include 'partials/footer.html.twig' %}
|
||||
</section>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block sidebar %}
|
||||
|
|
Loading…
Add table
Reference in a new issue