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
@ -17,7 +17,7 @@ export default hopeTheme({
|
|||||||
center: ["Links"],
|
center: ["Links"],
|
||||||
end: ["Language", "Repo", "Outlook", "Search"],
|
end: ["Language", "Repo", "Outlook", "Search"],
|
||||||
},
|
},
|
||||||
locales:{
|
locales: {
|
||||||
// The key is the path for the locale to be nested under.
|
// The key is the path for the locale to be nested under.
|
||||||
// As a special case, the default locale can use '/' as its path.
|
// As a special case, the default locale can use '/' as its path.
|
||||||
'/de/': {
|
'/de/': {
|
||||||
@ -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