Skip to content

Commit

Permalink
Fix latest indicator in version selector (kedacore#765)
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonychu authored May 24, 2022
1 parent 1544997 commit 8b73145
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layouts/partials/doc-version-selector.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<div class="dropdown-menu" id="dropdown-menu" role="menu">
<div class="dropdown-content">
{{ range $versionsOfDoc }}
{{ $isLatest := eq . $version }}
{{ $isLatest := eq . $latest }}
<a class="dropdown-item" href="/{{ $section }}/{{ . }}">
<span>
{{ . }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/general-version-selector.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<div class="dropdown-menu" id="dropdown-menu" role="menu">
<div class="dropdown-content">
{{ range $allVersions }}
{{ $isLatest := eq . $version }}
{{ $isLatest := eq . $latest }}
<a class="dropdown-item" href="/docs/{{ . }}">
<span>
{{ . }}
Expand Down

0 comments on commit 8b73145

Please sign in to comment.