Skip to content

Commit

Permalink
fix(seo): json-ld on search (#1120)
Browse files Browse the repository at this point in the history
  • Loading branch information
fpasquet committed May 2, 2024
1 parent f4e332b commit 918c20a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -58,7 +58,7 @@ export const useLayoutTemplateContainer = (): Omit<LayoutTemplateProps, 'childre
'@type': 'SearchAction',
target: {
'@type': 'EntryPoint',
urlTemplate: generateUrl(`${i18n.language}/search/?search={search_term_string}`),
urlTemplate: generateUrl(`/${i18n.language}/search/?search={search_term_string}`),
},
'query-input': 'required name=search_term_string',
},
Expand Down

0 comments on commit 918c20a

Please sign in to comment.