mirror of
https://github.com/Ocelot-Social-Community/ocelot.social.git
synced 2025-12-13 07:46:08 +00:00
replace search plugin due to theme changes
This commit is contained in:
parent
51cd732d27
commit
da05f97c7f
@ -195,19 +195,9 @@ export default hopeTheme({
|
|||||||
},
|
},
|
||||||
localeFallback: false,
|
localeFallback: false,
|
||||||
},
|
},
|
||||||
searchPro: {
|
slimsearch: {
|
||||||
indexContent: true,
|
indexContent: true,
|
||||||
autoSuggestions: true,
|
autoSuggestions: true,
|
||||||
customFields: [
|
|
||||||
{
|
|
||||||
getter: (page) => page.frontmatter.category,
|
|
||||||
formatter: "Category: $content",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
getter: (page) => page.frontmatter.tag,
|
|
||||||
formatter: "Tag: $content",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
seo: {
|
seo: {
|
||||||
fallbackImage: '/logo.svg',
|
fallbackImage: '/logo.svg',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user