diff --git a/templates/partials/sidebar_right.html.twig b/templates/partials/sidebar_right.html.twig index 520e506..1d8e4d5 100755 --- a/templates/partials/sidebar_right.html.twig +++ b/templates/partials/sidebar_right.html.twig @@ -37,17 +37,8 @@ {% include 'partials/relatedpages.html.twig' %} {% endif %} - {% if config.plugins.taxonomylist.enabled %} - {% set taxlist = children_only is defined ? taxonomylist.getChildPagesTags() : taxonomylist.get() %} - {% if taxlist %} - - - {% endif %} + {% if config.plugins.taxonomylist.enabled and page.template == 'blog' %} + {% include 'partials/taxonomylist.html.twig' with {'base_url':new_base_url, 'taxonomy':'tag', children_only: true, of_page: page.blog} %} {% endif %} {% if config.plugins.feed.enabled %} @@ -73,7 +64,7 @@ {% endif %} - {% if config.plugins.login.enabled and icon_login%} + {% if config.plugins.login.enabled and icon_login %}