Skip to content

Commit

Permalink
change to search pluging slimsearch
Browse files Browse the repository at this point in the history
  • Loading branch information
mahula committed Jan 30, 2025
1 parent 388378c commit 8c15930
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 952 deletions.
15 changes: 2 additions & 13 deletions docs/.vuepress/config/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,8 @@ export default hopeTheme({
},
],
plugins: {
searchPro: {
indexContent: true,
autoSuggestions: true,
customFields: [
{
getter: (page) => page.frontmatter.category,
formatter: "Category: $content",
},
{
getter: (page) => page.frontmatter.tag,
formatter: "Tag: $content",
},
],
slimsearch: {
indexContent: true
},
},
})
Loading

0 comments on commit 8c15930

Please sign in to comment.