diff --git a/docs/website/layouts/index.redirects b/docs/website/layouts/index.redirects index ca0cbe4fdb..4da0842e4e 100644 --- a/docs/website/layouts/index.redirects +++ b/docs/website/layouts/index.redirects @@ -4,9 +4,10 @@ # Redirect to latest doc version by default {{- if eq (len site.Data.releases) 1 -}} -{{- $latest = "edge" -}} -{{- end -}} /docs /docs/{{ $latest }} 301! +{{- else -}} +/docs /docs/latest 301! +{{- end -}} # v0.14.0 re-org redirects # TODO: Remove at some point in the future when its more ok to break old links en-mass