Skip to content

Commit 589b7d9

Browse files
authored
fix (#32120)
1 parent e33cb88 commit 589b7d9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

layouts/partials/algolia/page-sections.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
{{- if $page.Params.exclude_headers_from_search -}}
5252
{{- $section_header = "" -}}
5353
{{- end -}}
54-
54+
5555
{{- $hugo_context.Scratch.Add "algoliaindex" (
5656
dict "objectID" $object_id
5757
"id" $object_id
@@ -73,9 +73,9 @@
7373
{{- end -}}
7474
{{- $order = add $order 1 -}}
7575
{{- end -}}
76-
{{- $order = partial "partials/heading-sections" (dict "data" $v.Headings "ctx" $ctx "order" $order) -}}
76+
{{- $order = partial "heading-sections" (dict "data" $v.Headings "ctx" $ctx "order" $order) -}}
7777
{{- end -}}
7878
{{- return $order -}}
7979
{{- end -}}
8080

81-
{{- $ord := partial "partials/heading-sections" (dict "data" $page.Fragments.Headings "ctx" . "order" 0) -}}
81+
{{- $ord := partial "heading-sections" (dict "data" $page.Fragments.Headings "ctx" . "order" 0) -}}

0 commit comments

Comments
 (0)