We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e9dbf7 commit c7b0c11Copy full SHA for c7b0c11
docs/layouts/partials/navbar.html
@@ -19,7 +19,7 @@
19
<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>
20
</li>
21
{{ end }}
22
- {{ if and .Site.Params.versions (not .IsHome) }}
+ {{ if and .Site.Params.versions (not .IsHome) (ne .Section "community") (ne .Section "blog") }}
23
<li class="nav-item dropdown d-none d-lg-block">
24
{{ partial "navbar-version-selector.html" . }}
25
0 commit comments