We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a5305f commit 4271f73Copy full SHA for 4271f73
1 file changed
includes/homepage-version-switcher.html
@@ -1,5 +1,5 @@
1
<!-- Versions picker that only appears in the header on homepage or product landing -->
2
-{% if page.relativePath == 'index.md' or allProducts[currentProduct].toc contains page.relativePath %}
+{% if page.relativePath == 'index.md' or page.layout == 'product-landing' or page.layout == 'product-sublanding' %}
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