From 2e6e1b6027a8faeb9107181e25cc9f327faa2403 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Mon, 31 Aug 2020 11:24:32 -0600 Subject: [PATCH] conditional v2 check for left nav product tags --- layouts/partials/sidebar/nested-menu.html | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/layouts/partials/sidebar/nested-menu.html b/layouts/partials/sidebar/nested-menu.html index 2cc4b7d08..ab715a466 100644 --- a/layouts/partials/sidebar/nested-menu.html +++ b/layouts/partials/sidebar/nested-menu.html @@ -1,3 +1,4 @@ +{{ $isV2 := cond (in .RelPermalink "/v2.") true false }} {{ $page := .page }} {{ $menu := .menu }} @@ -8,37 +9,37 @@ {{ range $menu }}