mirror of
https://github.com/pmoreno-rodriguez/grav-theme-future2021.git
synced 2025-06-07 20:08:54 +00:00
Relocated sidebar templates
This commit is contained in:
parent
9800a44036
commit
b05ca0b4bc
6 changed files with 6 additions and 6 deletions
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
{% if show_sidebar == false %}
|
{% if show_sidebar == false %}
|
||||||
<section id="footer" class="align-center">
|
<section id="footer" class="align-center">
|
||||||
{% include 'partials/footer.html.twig' %}
|
{% include 'partials/sidebar-bits/footer.html.twig' %}
|
||||||
</section>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
2
templates/error.html.twig
Normal file → Executable file
2
templates/error.html.twig
Normal file → Executable file
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
{% if sidebar == false %}
|
{% if sidebar == false %}
|
||||||
<section id="footer" class="align-center">
|
<section id="footer" class="align-center">
|
||||||
{% include 'partials/footer.html.twig' %}
|
{% include 'partials/sidebar-bits/footer.html.twig' %}
|
||||||
</section>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
{% if sidebar == false %}
|
{% if sidebar == false %}
|
||||||
<section id="footer" class="align-center">
|
<section id="footer" class="align-center">
|
||||||
{% include 'partials/footer.html.twig' %}
|
{% include 'partials/sidebar-bits/footer.html.twig' %}
|
||||||
</section>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<section class="search-row">
|
<section class="search-row">
|
||||||
|
|
||||||
{% set title = page.title %}
|
{% set title = page.title %}
|
||||||
{% set thumb = page.media[page.header.primaryImage] ?: page.media.images|first %}
|
{% set thumb = page.media[page.header.primaryImage] ?: page.media.all|filter((v, k) => k != page.header.avatarImage and (v.type == 'image' or v.type == 'vector'))|first %}
|
||||||
|
|
||||||
{% if thumb %}
|
{% if thumb %}
|
||||||
<div class="search-image">
|
<div class="search-image">
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
|
|
||||||
{% if show_sidebar == false %}
|
{% if show_sidebar == false %}
|
||||||
<section id="footer" class="align-center">
|
<section id="footer" class="align-center">
|
||||||
{% include 'partials/footer.html.twig' %}
|
{% include 'partials/sidebar-bits/footer.html.twig' %}
|
||||||
</section>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
|
|
||||||
{% if sidebar == false %}
|
{% if sidebar == false %}
|
||||||
<section id="footer" class="align-center">
|
<section id="footer" class="align-center">
|
||||||
{% include 'partials/footer.html.twig' %}
|
{% include 'partials/sidebar-bits/footer.html.twig' %}
|
||||||
</section>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue