Skip to content

Commit

Permalink
undo prio
Browse files Browse the repository at this point in the history
  • Loading branch information
davidejones committed Oct 28, 2024
1 parent f7bf79a commit 0269795
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions layouts/_default/list.algolia.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
{{ $title := $page.Params.integration_title | default $page.Title }}
{{ $content := $page.Plain | htmlUnescape | safeHTML | truncate 10000 }}
{{ $tags := $page.Params.algolia.tags }}
{{- /* prioritize top level sections e.g /logs/ to be 80 vs /logs/*/ -}}
{{ $defaultRank := cond (eq $page.CurrentSection $page.FirstSection) 80 70 }}
{{ $rank := $page.Params.algolia.rank | default $defaultRank }}
{{ $rank := $page.Params.algolia.rank | default 70 }}
{{ $category := $page.Params.algolia.category | default "Documentation" }}
{{ $subcategory := $page.Params.algolia.subcategory }}

Expand Down

0 comments on commit 0269795

Please sign in to comment.