From ebc2c110132e0dc02bbbb94de8b14ca3ca60aae6 Mon Sep 17 00:00:00 2001 From: Sarah Schneider Date: Tue, 20 Apr 2021 12:49:37 -0400 Subject: [PATCH] only show the top-level TOC on product landing pages that use generic-toc --- includes/generic-toc-items.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/generic-toc-items.html b/includes/generic-toc-items.html index 4c92395152..cc914167e3 100644 --- a/includes/generic-toc-items.html +++ b/includes/generic-toc-items.html @@ -5,7 +5,8 @@ {% assign fullPath = tocItem.fullPath %} {% assign intro = tocItem.intro %} -{% if tocItem.childTocItems %} +{% if tocItem.childTocItems and page.documentType != "product" %} + + {% else %} {% include liquid-tags/link-with-intro %}