We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e381b4 commit b9ede41Copy full SHA for b9ede41
1 file changed
includes/homepage-version-switcher.html
@@ -1,5 +1,5 @@
1
-<!-- Versions picker that only appears in the header on homepage/versioned homepages -->
2
-{% if page.relativePath == 'index.md' %}
+<!-- Versions picker that only appears in the header on homepage or product landing -->
+{% if page.relativePath == 'index.md' or allProducts[currentProduct].toc contains page.relativePath %}
3
<div class="d-md-inline-block">
4
<div class="border-top border-md-top-0 py-2 py-md-0 d-md-inline-block">
5
<details class="dropdown-withArrow position-relative details details-reset mr-md-3 close-when-clicked-outside">
0 commit comments