diff --git a/themes/jaeger-docs/layouts/partials/docs/panel.html b/themes/jaeger-docs/layouts/partials/docs/panel.html index 35efe9e5..139503fe 100644 --- a/themes/jaeger-docs/layouts/partials/docs/panel.html +++ b/themes/jaeger-docs/layouts/partials/docs/panel.html @@ -5,8 +5,8 @@ {{ else }} {{ $path = .Path }} {{ end }} -{{ $currentVersion := index (split $path "/") 1 }} -{{ $versionDocsPath := printf "content/docs/%s" $currentVersion }} +{{ $majorMinorVersion := index (split $path "/") 1 }} +{{ $versionDocsPath := printf "content/docs/%s" $majorMinorVersion }} {{ $url := .RelPermalink }}