From 69d09863084322e2272e748897e42ff141ef4867 Mon Sep 17 00:00:00 2001 From: "david.jones" Date: Fri, 10 Oct 2025 11:07:05 +0100 Subject: [PATCH] fix --- layouts/partials/algolia/page-sections.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/algolia/page-sections.json b/layouts/partials/algolia/page-sections.json index 87ccb9935c6..f1848cde3a5 100644 --- a/layouts/partials/algolia/page-sections.json +++ b/layouts/partials/algolia/page-sections.json @@ -51,7 +51,7 @@ {{- if $page.Params.exclude_headers_from_search -}} {{- $section_header = "" -}} {{- end -}} - + {{- $hugo_context.Scratch.Add "algoliaindex" ( dict "objectID" $object_id "id" $object_id @@ -73,9 +73,9 @@ {{- end -}} {{- $order = add $order 1 -}} {{- end -}} - {{- $order = partial "partials/heading-sections" (dict "data" $v.Headings "ctx" $ctx "order" $order) -}} + {{- $order = partial "heading-sections" (dict "data" $v.Headings "ctx" $ctx "order" $order) -}} {{- end -}} {{- return $order -}} {{- end -}} -{{- $ord := partial "partials/heading-sections" (dict "data" $page.Fragments.Headings "ctx" . "order" 0) -}} +{{- $ord := partial "heading-sections" (dict "data" $page.Fragments.Headings "ctx" . "order" 0) -}}