mirror of
https://github.com/Ocelot-Social-Community/ocelot.social.git
synced 2025-12-12 15:25:58 +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"],
|
||||
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',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user