diff --git a/themes/jaeger-docs/layouts/partials/navbar.html b/themes/jaeger-docs/layouts/partials/navbar.html index 52868d6b..6bd001d1 100644 --- a/themes/jaeger-docs/layouts/partials/navbar.html +++ b/themes/jaeger-docs/layouts/partials/navbar.html @@ -77,7 +77,7 @@ {{ with .Params.children }} - {{ range . }} + {{ range . }} {{ $url := cond $isDocsPage (printf "/docs/%s/%s" $majorMinorVersion .url) (printf "/docs/%s/%s" $latest .url) }} ○ {{ if .navtitle }}{{ .navtitle }}{{ else }}{{ .title }}{{ end }} diff --git a/themes/jaeger-docs/layouts/shortcodes/currentVersion.html b/themes/jaeger-docs/layouts/shortcodes/currentVersion.html index d86e5502..1713c21b 100644 --- a/themes/jaeger-docs/layouts/shortcodes/currentVersion.html +++ b/themes/jaeger-docs/layouts/shortcodes/currentVersion.html @@ -1 +1 @@ -{{ add (index (split $.Page.File.Path "/") 1) ".0" }} +{{ add (index (split $.Page.File.Path "/") 1) ".0" }} \ No newline at end of file