diff --git a/layouts/partials/topnav.html b/layouts/partials/topnav.html index ff1b52c22..d836c6275 100644 --- a/layouts/partials/topnav.html +++ b/layouts/partials/topnav.html @@ -1,3 +1,7 @@ +{{ $productPathData := findRE "[^/]+.*?" .RelPermalink }} +{{ $product := index $productPathData 0 }} +{{ $currentVersion := index $productPathData 1 }} +