Skip to content

Commit c7b0c11

Browse files
authored
hide version selector (#6554)
Signed-off-by: rahulshendre <rahulshendre789@gmail.com>
1 parent 6e9dbf7 commit c7b0c11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/layouts/partials/navbar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<a class="nav-link{{if $active }} active{{end}}" href="{{ with .Page }}{{ .RelPermalink }}{{ else }}{{ .URL | relLangURL }}{{ end }}" {{ if ne $url.Host $baseurl.Host }}target="_blank" {{ end }}><span{{if $active }} class="active"{{end}}>{{ .Name }}</span></a>
2020
</li>
2121
{{ end }}
22-
{{ if and .Site.Params.versions (not .IsHome) }}
22+
{{ if and .Site.Params.versions (not .IsHome) (ne .Section "community") (ne .Section "blog") }}
2323
<li class="nav-item dropdown d-none d-lg-block">
2424
{{ partial "navbar-version-selector.html" . }}
2525
</li>

0 commit comments

Comments
 (0)