{{ $productPathData := findRE "[^/]+.*?" .RelPermalink }} {{ $product := index $productPathData 0 }} {{ $version := index $productPathData 1 | default "v2" }} {{ partial "footer/modals.html" . }} {{ partial "footer/feature-callout.html" . }} {{ partial "footer/fullscreen-code.html" . }} {{ partial "footer/search.html" . }} {{ partial "footer/notifications.html" . }} {{ partial "footer/custom-time-trigger" . }} {{ if in (slice "cloud" "cloud-serverless") $version }} {{ partial "footer/v3-wayfinding.html" . }} {{ end }} {{ partial "footer/javascript.html" . }}