replace search plugin due to theme changes

This commit is contained in:
mahula 2025-10-28 18:23:23 +01:00
parent 51cd732d27
commit da05f97c7f

View File

@ -17,7 +17,7 @@ export default hopeTheme({
center: ["Links"],
end: ["Language", "Repo", "Outlook", "Search"],
},
locales:{
locales: {
// The key is the path for the locale to be nested under.
// As a special case, the default locale can use '/' as its path.
'/de/': {
@ -195,19 +195,9 @@ export default hopeTheme({
},
localeFallback: false,
},
searchPro: {
slimsearch: {
indexContent: true,
autoSuggestions: true,
customFields: [
{
getter: (page) => page.frontmatter.category,
formatter: "Category: $content",
},
{
getter: (page) => page.frontmatter.tag,
formatter: "Tag: $content",
},
],
},
seo: {
fallbackImage: '/logo.svg',