Skip to content

Commit

Permalink
Added page variable to Ancestors range for consistency
Browse files Browse the repository at this point in the history
Signed-off-by: Travis Beckham <[email protected]>
  • Loading branch information
travisbeckham committed Jun 4, 2024
1 parent ec561a3 commit e9f233a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linkerd.io/layouts/index.searchindex.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{- $.Scratch.Add "search-index" slice -}}
{{- range $index, $page := $pages -}}
{{- $ancestors := slice "linkerd.io" -}}
{{- range .Ancestors.Reverse -}}
{{- range $page.Ancestors.Reverse -}}
{{- if .IsHome }}{{ continue }}{{ end -}}
{{- $ancestors = $ancestors | append .Title -}}
{{- end -}}
Expand Down

0 comments on commit e9f233a

Please sign in to comment.