diff --git a/src/components/navigation/Search.astro b/src/components/navigation/Search.astro index b61ac9b..8e27026 100644 --- a/src/components/navigation/Search.astro +++ b/src/components/navigation/Search.astro @@ -138,12 +138,12 @@ import { getQMLTypeLinkObject, getQMLTypeLink, getIconForLink } from '@src/confi showSubResults: true, processResult: (result: { url: string; excerpt:string; sub_results: Array<{ url: string, excerpt:string }> }) => { result.url = formatURL(result.url); + result.excerpt = processExcerpt(result.excerpt) result.sub_results = result.sub_results.map((sub_result) => { sub_result.url = formatURL(sub_result.url); sub_result.excerpt = processExcerpt(sub_result.excerpt) return sub_result; }); - result.excerpt = processExcerpt(result.excerpt) }, }); }); diff --git a/src/layouts/ConfigLayout.astro b/src/layouts/ConfigLayout.astro index 3f68caf..3e65d78 100644 --- a/src/layouts/ConfigLayout.astro +++ b/src/layouts/ConfigLayout.astro @@ -33,7 +33,7 @@ const { headings, frontmatter } = Astro.props; - + diff --git a/src/layouts/DocsLayout.astro b/src/layouts/DocsLayout.astro index 541a0bc..e9eedeb 100644 --- a/src/layouts/DocsLayout.astro +++ b/src/layouts/DocsLayout.astro @@ -67,8 +67,8 @@ if (url[2]) {