Relocated sidebar templates

This commit is contained in:
pmoreno.rodriguez 2023-08-13 12:50:32 +02:00
parent 2363970749
commit 611caa23c0

33
templates/partials/sidebar_left.html.twig Normal file → Executable file
View file

@ -1,18 +1,18 @@
<section id="sidebar">
<!-- Intro -->
<section id="intro">
{% include 'partials/logo.html.twig' %}
<header>
<h2>{{ site.title|e('html') }}</h2>
<p>{{theme_config.slogan|raw}}</p>
</header>
</section>
<!-- Mini Posts -->
{% if theme_config.miniposts == true %}
{% block miniposts %}
{% include 'partials/miniposts.html.twig' %}
{% block intro %}
{% include 'partials/sidebar-bits/intro.html.twig' %}
{% endblock %}
{% endif %}
{% block miniposts %}
{% include 'partials/sidebar-bits/miniposts.html.twig' %}
{% endblock %}
{% block latest %}
{% include 'partials/sidebar-bits/recentposts.html.twig' %}
{% endblock %}
{% block footer %}
<!-- About -->
{% if theme_config.footer.title or theme_config.footer.description %}
<section class="blurb">
@ -23,10 +23,7 @@
</ul>
</section>
{% endif %}
<!-- Footer -->
<section id="footer">
{% block footer %}
{% include 'partials/footer.html.twig' %}
{% include 'partials/sidebar-bits/footer.html.twig' %}
{% endblock %}
</section>
</section>