docs-v2/layouts/partials/footer.html

27 lines
766 B
HTML

{{ $productPathData := findRE "[^/]+.*?" .RelPermalink }}
{{ $product := index $productPathData 0 }}
{{ $currentVersion := index $productPathData 1 | default "v2.0"}}
<!-- Modals -->
{{ partial "footer/modals.html" . }}
{{ partial "footer/feature-callout.html" . }}
{{ partial "footer/fullscreen-code.html" . }}
<!-- Docsearch JS -->
{{ partial "footer/search.html" . }}
<!-- Docs Notifications -->
{{ partial "footer/notifications.html" . }}
<!-- Custom time modal trigger-->
{{ partial "footer/custom-time-trigger" . }}
<!-- IOx wayfinding modal -->
{{ if in (slice "cloud" "cloud-serverless") $currentVersion }}
{{ partial "footer/v3-wayfinding.html" . }}
{{ end }}
</body>
{{ partial "footer/javascript.html" . }}
</html>