Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Shkuro <[email protected]>
  • Loading branch information
yurishkuro committed Sep 23, 2024
1 parent 4187d2b commit a1b93ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion themes/jaeger-docs/layouts/partials/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
</a>

{{ with .Params.children }}
{{ range . }}
{{ range . }}
{{ $url := cond $isDocsPage (printf "/docs/%s/%s" $majorMinorVersion .url) (printf "/docs/%s/%s" $latest .url) }}
<a class="navbar-item is-small is-hidden-desktop" href="{{ $url }}">
&cir; {{ if .navtitle }}{{ .navtitle }}{{ else }}{{ .title }}{{ end }}
Expand Down
2 changes: 1 addition & 1 deletion themes/jaeger-docs/layouts/shortcodes/currentVersion.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{{ add (index (split $.Page.File.Path "/") 1) ".0" }}
{{ add (index (split $.Page.File.Path "/") 1) ".0" }}

1 comment on commit a1b93ce

@yurishkuro
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed new line from themes/jaeger-docs/layouts/shortcodes/currentVersion.html

Please sign in to comment.