From ca80c3e71dc9bb3bfe3a319d260ae4cb030a8e51 Mon Sep 17 00:00:00 2001 From: ParitoshBh Date: Tue, 10 Mar 2020 01:36:19 +0000 Subject: [PATCH] Attempt fixing navigation on item detail page #18 --- templates/item.html.twig | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/templates/item.html.twig b/templates/item.html.twig index a66aad8..6e39dc1 100644 --- a/templates/item.html.twig +++ b/templates/item.html.twig @@ -1,5 +1,6 @@ {% extends 'partials/base.html.twig' %} {% set blog = page.find(header_var('blog_url')|defined(theme_var('blog-page'))) %} +{% set pageCollection = page.parent.children() %} {% block body %}
@@ -36,11 +37,15 @@ {% if theme_config.post.navigation %}