Relocated sidebar templates

This commit is contained in:
pmoreno.rodriguez 2023-08-13 12:44:02 +02:00
parent 9800a44036
commit b05ca0b4bc
6 changed files with 6 additions and 6 deletions

View file

@ -27,7 +27,7 @@
{% if show_sidebar == false %}
<section id="footer" class="align-center">
{% include 'partials/footer.html.twig' %}
{% include 'partials/sidebar-bits/footer.html.twig' %}
</section>
{% endif %}
{% endblock %}

2
templates/error.html.twig Normal file → Executable file
View file

@ -18,7 +18,7 @@
{% if sidebar == false %}
<section id="footer" class="align-center">
{% include 'partials/footer.html.twig' %}
{% include 'partials/sidebar-bits/footer.html.twig' %}
</section>
{% endif %}
{% endblock %}

View file

@ -15,7 +15,7 @@
{% if sidebar == false %}
<section id="footer" class="align-center">
{% include 'partials/footer.html.twig' %}
{% include 'partials/sidebar-bits/footer.html.twig' %}
</section>
{% endif %}

View file

@ -1,7 +1,7 @@
<section class="search-row">
{% 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 %}
<div class="search-image">

View file

@ -66,7 +66,7 @@
{% if show_sidebar == false %}
<section id="footer" class="align-center">
{% include 'partials/footer.html.twig' %}
{% include 'partials/sidebar-bits/footer.html.twig' %}
</section>
{% endif %}
{% endblock %}

View file

@ -37,7 +37,7 @@
{% if sidebar == false %}
<section id="footer" class="align-center">
{% include 'partials/footer.html.twig' %}
{% include 'partials/sidebar-bits/footer.html.twig' %}
</section>
{% endif %}
{% endblock %}