mirror of
https://github.com/pmoreno-rodriguez/grav-theme-future2021.git
synced 2025-06-07 20:08:54 +00:00
Improved archives section in sidebar
This commit is contained in:
parent
6e144dabe7
commit
619bcb6ca3
1 changed files with 2 additions and 2 deletions
4
templates/partials/sidebar_right.html.twig
Normal file → Executable file
4
templates/partials/sidebar_right.html.twig
Normal file → Executable file
|
@ -9,7 +9,7 @@
|
|||
<section id="sidebarmenu">
|
||||
{% include 'partials/sidebar_navigation.html.twig' %}
|
||||
</section>
|
||||
{% if config.plugins.archives.enabled %}
|
||||
{% if config.plugins.archives.enabled and archives_data is not empty %}
|
||||
<!-- Actions -->
|
||||
<section>
|
||||
<header>
|
||||
|
@ -18,7 +18,7 @@
|
|||
{% include 'partials/archives.html.twig' %}
|
||||
</section>
|
||||
{% endif %}
|
||||
{% if config.plugins.relatedpages.enabled %}
|
||||
{% if config.plugins.relatedpages.enabled and related_pages|length > 0 %}
|
||||
<section>
|
||||
<header>
|
||||
<h3>{{ 'FUTURE.SIDEBAR.RELATED_POSTS.HEADLINE'|t }}</h3>
|
||||
|
|
Loading…
Add table
Reference in a new issue