diff --git a/docs/layouts/partials/navbar.html b/docs/layouts/partials/navbar.html index 566c962ad2..fcb190df0c 100644 --- a/docs/layouts/partials/navbar.html +++ b/docs/layouts/partials/navbar.html @@ -19,7 +19,7 @@ {{ .Name }} {{ end }} - {{ if .Site.Params.versions }} + {{ if and .Site.Params.versions (not .IsHome) }} diff --git a/docs/main.go b/docs/main.go index 1a5e2c1210..92f227f89e 100644 --- a/docs/main.go +++ b/docs/main.go @@ -28,7 +28,7 @@ import ( const dir = "/public" // Don't update here manually. /hack/gen-release-docs.sh does. -const latestPath = "/docs-v0.55.x/" +const latestPath = "/docs-v1.0.x/" func main() { var (