Skip to content

Commit c1c8570

Browse files
authored
Merge pull request #18434 from github/versioning-in-landing-pages
Show version picker on product landing pages
2 parents 982a608 + 8135fbd commit c1c8570

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

includes/homepage-version-switcher.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<!-- Versions picker that only appears in the header on homepage/versioned homepages -->
2-
{% if page.relativePath == 'index.md' %}
1+
<!-- Versions picker that only appears in the header on homepage or product landing -->
2+
{% if page.relativePath == 'index.md' or page.layout == 'product-landing' or page.layout == 'product-sublanding' %}
33
<div class="d-md-inline-block">
44
<div class="border-top border-md-top-0 py-2 py-md-0 d-md-inline-block">
55
<details class="dropdown-withArrow position-relative details details-reset mr-md-3 close-when-clicked-outside">

0 commit comments

Comments
 (0)