Skip to content

Commit 20caa11

Browse files
committed
Fix 全文检索功能
1 parent 8962aa6 commit 20caa11

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

docs/index.html

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,13 @@
2121
auto2top: true,//切换页面后是否自动跳转到页面顶部
2222
//logo: 'https://my-blog-to-use.oss-cn-beijing.aliyuncs.com/2019-3logo-透明.png' ,
2323
depth: 4,
24-
search: {
25-
noData: {
26-
'/': 'No results!'
24+
search: {
25+
paths: 'auto',
26+
placeholder: '搜索',
27+
noData: '找不到结果',
28+
// Headline depth, 1 - 6
29+
depth: 6
2730
},
28-
paths: 'auto',
29-
placeholder: {
30-
'/': 'Search'
31-
}
32-
},
3331

3432
}
3533
</script>
@@ -38,5 +36,6 @@
3836
<script src="//unpkg.com/prismjs/components/prism-java.min.js"></script>
3937
<!--全文搜索-->
4038
<script src="//unpkg.com/docsify/lib/plugins/search.js"></script>
39+
4140
</body>
4241
</html>

0 commit comments

Comments
 (0)